Click or drag to resize
DragDropState Class
Provides a context for a drag-drop operation.
Inheritance Hierarchy

Namespace: Telerik.Windows.DragDrop.Behaviors
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class DragDropState

The DragDropState type exposes the following members.

Constructors
  NameDescription
Public methodDragDropState
Initializes a new instance of the DragDropState class.
Top
Properties
  NameDescription
Public propertyDestinationItemsSource
Gets or sets the drop target control ItemsSource. This property is null when the state represents the context of the drag source control.
Public propertyDraggedItems
Gets or sets the items that are being dragged.
Public propertyDropPosition
Gets or sets the DropPosition at which the dragged items will be inserted - before or after.
Public propertyInsertIndex
Gets or sets the index at which the dragged items will be inserted. A value -1 means that the items should be added at the end of the items source.
Public propertyIsControlDown
Gets or sets the state of the Control key in the moment when the DragDropState was created.
Public propertyIsSameControl
Gets a value that specifies whether the drag source and the drop target are the same control.
Public propertyIsShiftDown
Gets or sets the state of the Shift key in the moment when the DragDropState was created.
Public propertySourceItemsSource
Gets or sets the drag source control ItemsSource. This property is null when the state represents the context of the drop target control.
Top
See Also