Class
DragDropState

Provides a context for a file dialog drag-drop operation.

Definition

Namespace:Telerik.Windows.Controls.FileDialogs.DragDrop

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

cs-api-definition
public class DragDropState

Inheritance: objectDragDropState

Constructors

DragDropState()

Declaration

cs-api-definition
public DragDropState()

Properties

AreInTheSameDrive

Gets a value indicating whether the dragged files/folders are from the same drive as the drop folder. Returns true if theDropFolder is null.

Declaration

cs-api-definition
public bool AreInTheSameDrive { get; }

Property Value

bool

DraggedFiles

Gets the paths of the files and/or folders that are being dragged.

Declaration

cs-api-definition
public IEnumerable<string> DraggedFiles { get; }

Property Value

IEnumerable<string>

DropFolder

Gets the folder where it is being dropped.

Declaration

cs-api-definition
public string DropFolder { get; }

Property Value

string

IsAltDown

Gets or sets the state of the Alt key in the moment when the DragDropState was created.

Declaration

cs-api-definition
public bool IsAltDown { get; protected set; }

Property Value

bool

IsControlDown

Gets or sets the state of the Control key in the moment when the DragDropState was created.

Declaration

cs-api-definition
public bool IsControlDown { get; protected set; }

Property Value

bool

IsShiftDown

Gets or sets the state of the Shift key in the moment when the DragDropState was created.

Declaration

cs-api-definition
public bool IsShiftDown { get; protected set; }

Property Value

bool