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

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

Definition

Namespace:Telerik.Windows.Controls.FileDialogs.DragDrop

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

C#
public class DragDropState

Inheritance: objectDragDropState

Constructors

C#
public DragDropState()

Properties

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

C#
public bool AreInTheSameDrive { get; }

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

C#
public IEnumerable<string> DraggedFiles { get; }

Gets the folder where it is being dropped.

C#
public string DropFolder { get; }

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

C#
public bool IsAltDown { get; protected set; }

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

C#
public bool IsControlDown { get; protected set; }

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

C#
public bool IsShiftDown { get; protected set; }