ClassFileBrowserDragDropBehavior
Defines a DragDropBehavior for drag-drop operations in a DialogWindowBase.
Definition
Namespace:Telerik.Windows.Controls.FileDialogs.DragDrop
Assembly:Telerik.Windows.Controls.FileDialogs.dll
Syntax:
public class FileBrowserDragDropBehavior : DragDropBehavior<DragDropState>, IDragDropBehavior<DragDropState>
Inheritance: objectDragDropBehavior<DragDropState>FileBrowserDragDropBehavior
Implements:
Inherited Members
Constructors
FileBrowserDragDropBehavior()
Declaration
public FileBrowserDragDropBehavior()
Methods
CanDrop(DragDropState)
Returns a value specifying whether the current drag operation can be completed.
Declaration
public override bool CanDrop(DragDropState state)
Parameters
state
DragDropState that provides context for the current operation.
Returns
True if the drag operation can be completed, otherwise false.
Overrides
Remarks
This method is called only in the context of the drop target control.
CanStartDrag(DragDropState)
Returns a value specifying whether the drag operation can be started.
Declaration
public override bool CanStartDrag(DragDropState state)
Parameters
state
DragDropState that provides context for the current operation.
Returns
True if the drag operation can be completed, otherwise false.
Overrides
Remarks
This method is called only in the context of the drag source control.
Drop(DragDropState)
Completes the drop operation. This method is called only in the context of the drop target control.
Declaration
public override void Drop(DragDropState state)
Parameters
state
DragDropState that provides context for the current operation.
Overrides