ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.DragDrop Namespace / DragInfo Class / VisualSourceItem Property
Version

VisualSourceItem Property
Gets the item in an ItemsControl that started the drag.
Syntax
public UIElement VisualSourceItem {get;}
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 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also