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.
|
Methods
CanDrag(Point)
Determines that the element is availble for dragging.
Declaration
bool CanDrag(Point dragStartPoint)
Parameters
System. An instance of System. |
Returns
System. True if the object can be dragged, otherwise false. |
GetDataContext()
Gets the assosiated with dragged element data context.
Declaration
object GetDataContext()
Returns
System.
|
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.
|