RadTileElement
Represents a tile that can be arranged in a RadPanorama control.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTileElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTileElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public RadTileElement()
Properties
Gets or sets the padding according to the currently occupied cell.
[Browsable(true)]
public Padding CellPadding { get; set; }
Gets or sets the number of cells that the tile should occupy in a row.
[Browsable(true)]
public int ColSpan { get; set; }
Gets the zero-based index of the column in which the tile should be arranged.
[Browsable(true)]
public int Column { get; set; }
Gets the zero-based index of the row in which the tile should be arranged.
[Browsable(true)]
public int Row { get; set; }
Methods
Applies the default tile appearance and enables drag-and-drop interaction.
protected override void CreateChildElements()
Overrides:
Finds the nearest RadPanoramaElement ancestor that owns this tile.
protected RadPanoramaElement FindTilePanelElement()
The containing Panorama element, or null if the tile is not in a Panorama.
Invalidates the Panorama root when an animated image frame changes.
protected override void OnAnimatedImageFrameChanged()
Overrides:
Ends captured scrolling on mouse-up and cancels the bubbled event when drag-and-drop is disabled.
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
The element that raised the routed event.
argsRoutedEventArgsThe routed event data.
Overrides:
Starts the parent Panorama's drag service when the left button is pressed and drag-and-drop is enabled.
protected override void OnMouseDown(MouseEventArgs e)
The mouse-down event data.
Overrides:
Clears the tile's pressed state when the pointer leaves it.
Forwards captured left-button movement to the Panorama scroll service when tile drag-and-drop is disabled.
protected override void OnMouseMove(MouseEventArgs e)
The mouse-move event data.
Overrides:
Scrolls the Panorama during a pan gesture and starts dragging the tile after a sufficient vertical pan when drag-and-drop is enabled.
protected override void OnPanGesture(PanGestureEventArgs args)
The pan gesture state and movement data.
Overrides:
Invalidates the Panorama root when an animation changes this tile's position offset or scale.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The changed property and its previous and new values.
Overrides:
Keeps this tile eligible as a target while a drag is over it.
protected override bool ProcessDragOver(Point mousePosition, ISupportDrag dragObject)
The pointer position in the drag target's coordinate space.
dragObjectISupportDragThe object being dragged.
Returns:Always true.
Overrides: