IDragProvider.GetGrabbedItems Method

Definition

Gets an array of UI Automation elements that are being dragged as part of this drag operation.

public:
 Platform::Array <IRawElementProviderSimple ^> ^ GetGrabbedItems();
winrt::array_view <IRawElementProviderSimple const&> GetGrabbedItems();
public IRawElementProviderSimple[] GetGrabbedItems();
function getGrabbedItems()
Public Function GetGrabbedItems () As IRawElementProviderSimple()

Returns

An array of UI Automation elements that are being dragged. Null if this item is an individual item being dragged. Used to enable providers that support dragging multiple items at a time to create an intermediary IDragProvider that encapsulates all of the items being dragged.

Applies to