ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Gallery Class / SetItemCollection Method
Version

SetItemCollection Method
Derived classes can push in an entire collection instead of adding items piecemeal.
Syntax
protected internal void SetItemCollection( 
   ObservableCollection<object> items
)

Parameters

items
Remarks

All items added to the ItemCollection must be created on the main UI thread as these ultimately become the content of buttons added to the gallery popup control.

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also