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