Interface ISupportDrag
Exposes methods and properties for draggable elements.
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public interface ISupportDrag
Properties
AllowDrag
Determines whether this instance may enter drag operation.
Declaration
bool AllowDrag { get; set; }
Property Value
System.Boolean
|
Methods
CanDrag(Point)
Determines that the element is availble for dragging.
Declaration
bool CanDrag(Point dragStartPoint)
Parameters
System.Drawing.Point
dragStartPoint
An instance of System.Drawing.Point which represents a dragging start location. |
Returns
System.Boolean
True if the object can be dragged, otherwise false. |
GetDataContext()
Gets the assosiated with dragged element data context.
Declaration
object GetDataContext()
Returns
System.Object
|
GetDragHint()
Gets the image used by the DragDropService to indicate that the element is being dragged. Usually this is a snapshot of the element itself.
Declaration
Image GetDragHint()
Returns
System.Drawing.Image
|