ArcGIS Pro 2.8 API Reference Guide
VisualSourceItem Property

ArcGIS.Desktop.Framework.DragDrop Namespace > DragInfo Class : VisualSourceItem Property
Gets the item in an ItemsControl that started the drag.
Syntax
public UIElement VisualSourceItem {get;}
Public ReadOnly Property VisualSourceItem As UIElement
Remarks
If the control that initiated the drag is an ItemsControl, this property will hold the item container of the clicked item. For example, if VisualSource is a ListBox this will hold a ListBoxItem.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

DragInfo Class
DragInfo Members