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

The EventArgs for the DragEnded event of the RadTreeView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadTreeViewDragEndedEventArgs : RadTreeViewDragEventArgs

Inheritance: objectRadRoutedEventArgsRadTreeViewDragEventArgsRadTreeViewDragEndedEventArgs

Inherited Members RadTreeViewDragEventArgs.DraggedItems

Constructors

Initializes a new instance of the RadTreeViewDragEndedEventArgs class.

C#
public RadTreeViewDragEndedEventArgs(bool isCanceled, Collection<object> draggedItems, RadTreeViewItem targetDropItem, RoutedEvent routedEvent, object source)
Parameters:isCanceledbool

Is the event canceled.

draggedItemsCollection<object>

The items that are being dragged.

targetDropItemRadTreeViewItem

The target item on which they are dropped.

routedEventRoutedEvent

The associated routed event.

sourceobject

The source of the event.

Properties

Gets the position where the items are dropped relative to the TargetDropItem. If you need to set the DropPosition, set it to the targetDropItem.

C#
public DropPosition DropPosition { get; }

Gets whether the event has been canceled.

C#
public bool IsCanceled { get; }

Gets the item on which the items are dropped.

C#
public RadTreeViewItem TargetDropItem { get; }