New to Telerik UI for WinFormsStart a free 30-day trial

Defines a DragDropBehavior for drag-drop operations in a FileDialogFormBase.

Definition

Namespace:Telerik.WinControls.FileDialogs.DragDrop

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class FileBrowserDragDropBehavior : DragDropBehavior<DragDropState>

Inheritance: objectDragDropBehavior<DragDropState>FileBrowserDragDropBehavior

Inherited Members DragDropBehavior<DragDropState>.GetDragDropEffects(DragDropState)

Constructors

C#
public FileBrowserDragDropBehavior()

Methods

Returns a value specifying whether the current drag operation can be completed.

C#
public override bool CanDrop(DragDropState state)
Parameters:stateDragDropState

DragDropState that provides context for the current operation.

Returns:

bool

True if the drag operation can be completed, otherwise false.

Overrides: DragDropBehavior<DragDropState>.CanDrop(DragDropState)

Remarks:

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.

C#
public override void Drop(DragDropState state)
Parameters:stateDragDropState

DragDropState that provides context for the current operation.

Overrides: DragDropBehavior<DragDropState>.Drop(DragDropState)