Defines the basic methods of a generic FileDialogs DragDropBehavior.
Definition
Namespace:Telerik.WinControls.FileDialogs.DragDrop
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
TState
The state type.
Syntax:
public abstract class DragDropBehavior<TState> where TState : DragDropState
Inheritance: objectDragDropBehavior<TState>
Derived Classes:
Constructors
protected DragDropBehavior()
Methods
Returns a value specifying whether the current drag operation can be completed.
public virtual bool CanDrop(TState state)
DragDropState that provides context for the current operation.
Returns:True if the drag operation can be completed, otherwise false.
This method is called only in the context of the drop target control.
Completes the drop operation. This method is called only in the context of the drop target control.
public virtual void Drop(TState state)
DragDropState that provides context for the current operation.
Returns the DragDropEffects for the current drag drop operation. The return value affects the mouse cursor.
public virtual DragDropEffects GetDragDropEffects(TState state)
DragDropState that provides context for the current operation.
Returns:This method is called only in the context of the drop target control.