ClassTileDragDropService
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TileDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceTileDragDropService
Implements:
Inherited Members
Constructors
TileDragDropService(RadPanoramaElement)
Declaration
public TileDragDropService(RadPanoramaElement owner)
Parameters
owner
Properties
AutoScrollOffset
Gets or sets the offset from the edges of the control at which automatic scrolling starts.
Methods
CanStart(object)
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.
GetCellAtPoint(TileGroupElement, Point)
Declaration
protected virtual Point GetCellAtPoint(TileGroupElement group, Point location)
Parameters
group
location
Returns
GetCellCoordinates(TileGroupElement, int, int)
Declaration
protected PointF GetCellCoordinates(TileGroupElement group, int rowIndex, int columnIndex)
Parameters
group
rowIndex
columnIndex
Returns
GetDropTarget(Point, out Point)
Declaration
protected override ISupportDrop GetDropTarget(Point mousePosition, out Point resultDropLocation)
Parameters
mousePosition
resultDropLocation
Returns
Overrides
GetTargetCell(RadTileElement, Point)
Declaration
protected virtual Point GetTargetCell(RadTileElement source, Point location)
Parameters
source
location
Returns
GetTargetCell(TileGroupElement, Point)
Declaration
protected virtual Point GetTargetCell(TileGroupElement group, Point dropLocation)
Parameters
group
dropLocation
Returns
GetTargetGroup(RectangleF)
Declaration
protected virtual TileGroupElement GetTargetGroup(RectangleF tileRectangle)
Parameters
tileRectangle
Returns
HandleGroupedDragDrop(RadDropEventArgs)
Declaration
protected virtual void HandleGroupedDragDrop(RadDropEventArgs e)
Parameters
e
HandleMouseMove(Point)
Declaration
protected override void HandleMouseMove(Point mousePos)
Parameters
mousePos
Overrides
HandleUngroupedDragDrop(RadDropEventArgs)
Declaration
protected virtual void HandleUngroupedDragDrop(RadDropEventArgs e)
Parameters
e
IsDropTargetValid(ISupportDrop)
Declaration
protected override bool IsDropTargetValid(ISupportDrop dropTarget)
Parameters
dropTarget
Returns
Overrides
OnPreviewDragDrop(RadDropEventArgs)
Declaration
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Parameters
e
Overrides
OnScrollTimerTick()
Declaration
protected virtual void OnScrollTimerTick()
PerformStop()
Stops the service. Performs the core logic.
Declaration
protected override void PerformStop()
Overrides