Class RadPanoramaElement
Represents the main element of RadPanorama control.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadPanoramaElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadPanoramaElement()
Declaration
public RadPanoramaElement()
Fields
ScrollBarThicknessProperty
Properties
AllowDragDrop
Gets or sets a value indicating whether reordering of tiles via drag and drop is allowed.
Declaration
public bool AllowDragDrop { get; set; }
Property Value
System.Boolean
|
AutoArrangeNewTiles
Gets or sets a value that indicates whether the newly added tiles should be automatically arranged.
Declaration
public bool AutoArrangeNewTiles { get; set; }
Property Value
System.Boolean
|
BackgroundImagePrimitive
Gets the image primitive that represents tha image in the background.
Declaration
public ImagePrimitive BackgroundImagePrimitive { get; }
Property Value
ImagePrimitive
|
CellSize
Gets or sets the size of a single cell.
Declaration
public Size CellSize { get; set; }
Property Value
System.Drawing.Size
|
ColumnsCount
Gets or sets the current number of columns.
Declaration
public int ColumnsCount { get; set; }
Property Value
System.Int32
|
DragDropService
Gets or sets the RadDragDropService that is responsible for the drag-drop reorder of tiles.
Declaration
public RadDragDropService DragDropService { get; set; }
Property Value
RadDragDropService
|
EnableZooming
Enables or Disables the build in zoom functionality
Declaration
public bool EnableZooming { get; set; }
Property Value
System.Boolean
|
GroupLayout
Gets the layout that arranges the tile groups.
Declaration
public StackLayoutPanel GroupLayout { get; }
Property Value
StackLayoutPanel
|
Groups
Gets a collection of TileGroupElement items that should be displayed in ungrouped mode.
Declaration
public RadItemOwnerCollection Groups { get; }
Property Value
RadItemOwnerCollection
|
Items
Gets a collection of RadTileElement items that should be displayed in grouped mode.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
|
MinimumColumns
Gets or sets the minimum number of columns that the view can be reduced to.
Declaration
public int MinimumColumns { get; set; }
Property Value
System.Int32
|
MouseWheelBehavior
Gets or sets the way that RadPanorama should handle mouse wheel input.
Declaration
public PanoramaMouseWheelBehavior MouseWheelBehavior { get; set; }
Property Value
PanoramaMouseWheelBehavior
|
MouseWheelScrollStep
Gets or sets the step size that is used, when scrolling with the mouse wheel.
Declaration
public int MouseWheelScrollStep { get; set; }
Property Value
System.Int32
|
PanelImage
Gets or sets the image that is displayed in the background.
Declaration
public Image PanelImage { get; set; }
Property Value
System.Drawing.Image
|
PanelImageSize
Gets or sets the size of the image that is displayed in the background.
Declaration
public Size PanelImageSize { get; set; }
Property Value
System.Drawing.Size
|
RowsCount
Gets or sets the number of rows.
Declaration
public int RowsCount { get; set; }
Property Value
System.Int32
|
ScrollBar
Gets the scrollbar of the view.
Declaration
public RadScrollBarElement ScrollBar { get; }
Property Value
RadScrollBarElement
|
ScrollBarAlignment
Gets or sets the position on which the scrollbar should be aligned.
Declaration
public HorizontalScrollAlignment ScrollBarAlignment { get; set; }
Property Value
HorizontalScrollAlignment
|
ScrollBarThickness
Gets or sets the thickness of the scrollbar.
Declaration
public int ScrollBarThickness { get; set; }
Property Value
System.Int32
|
ScrollingBackground
Gets or sets a value indicating whether the background image should be scrolled along with the tiles.
Declaration
public bool ScrollingBackground { get; set; }
Property Value
System.Boolean
|
ScrollService
Gets the ScrollService that is responsible for kinetic scrolling behavior with the mouse pointer.
Declaration
public ScrollService ScrollService { get; }
Property Value
ScrollService
|
ShowGroups
Gets or sets a value indicating whether the groups or the items should be displayed.
Declaration
public bool ShowGroups { get; set; }
Property Value
System.Boolean
|
TileLayout
Gets the layout that arranges the tiles in ungrouped mode.
Declaration
public GridLayout TileLayout { get; }
Property Value
GridLayout
|
ZoomedOut
Indicates whether the view is zoomed out.
Declaration
public bool ZoomedOut { get; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnBubbleEvent(RadElement, RoutedEventArgs)
Declaration
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
Parameters
RadElement
sender
|
RoutedEventArgs
args
|
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnMouseWheel(MouseEventArgs)
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
|
Overrides
OnPanGesture(PanGestureEventArgs)
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
PanGestureEventArgs
args
|
Overrides
OnZoomGesture(ZoomGestureEventArgs)
Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
ZoomGestureEventArgs
args
|
Overrides
ProcessDragOver(Point, ISupportDrag)
Declaration
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
Parameters
System.Drawing.Point
mousePosition
|
ISupportDrag
dragObject
|
Returns
System.Boolean
|
Overrides
ScrollToItem(RadTileElement)
ScrollToItem(RadTileElement, Int32)
Declaration
public void ScrollToItem(RadTileElement tile, int desiredOffset)
Parameters
RadTileElement
tile
|
System.Int32
desiredOffset
|
ScrollView(Int32)
Scrolls the view with a specified offset.
Declaration
public void ScrollView(int offset)
Parameters
System.Int32
offset
The offset. |
ScrollView(Int32, Boolean)
Scrolls the view with a specified offset.
Declaration
public void ScrollView(int offset, bool buffered)
Parameters
System.Int32
offset
The offset. |
System.Boolean
buffered
If the method is called too often, set this to [true] to improve performance. |
UpdateCellCount()
Declaration
protected virtual void UpdateCellCount()
UpdateScrollBar(SizeF)
Declaration
protected virtual void UpdateScrollBar(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
UpdateViewOnScroll()
Updates the view according to the current value of the scrollbar.
Declaration
public void UpdateViewOnScroll()
ZoomIn(Point)
Zooms the view in towards the specified location.
Declaration
public void ZoomIn(Point location)
Parameters
System.Drawing.Point
location
The location. |
ZoomOut()
Zooms the view out.
Declaration
public void ZoomOut()