TileDragDropService
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class TileDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceTileDragDropService...
Implements:
Inherited Members
Constructors
Properties
Gets or sets the offset from the edges of the control at which automatic scrolling starts.
C#
public int AutoScrollOffset { get; set; }
Methods
Determines whether the service may be started. Validation is as follows:
- Check whether Enabled is true.
- Check the context through IsContextValid method. An exception is thrown if context is invalid.
- Checks the current state - it should be Initial or Stopped.
C#
protected virtual Point GetCellAtPoint(TileGroupElement group, Point location)
C#
protected PointF GetCellCoordinates(TileGroupElement group, int rowIndex, int columnIndex)
C#
protected virtual Point GetTargetCell(RadTileElement source, Point location)
C#
protected virtual Point GetTargetCell(TileGroupElement group, Point dropLocation)
C#
protected virtual TileGroupElement GetTargetGroup(RectangleF tileRectangle)
C#
protected override bool IsDropTargetValid(ISupportDrop dropTarget)
Overrides:
C#
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Overrides:
C#
protected virtual void OnScrollTimerTick()
Stops the service. Performs the core logic.
C#
protected override void PerformStop()
Overrides: