ArcGIS Pro 2.7 API Reference Guide
SetItemCollection Method

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : SetItemCollection Method
Derived classes can push in an entire collection instead of adding items piecemeal.
Syntax
protected internal void SetItemCollection( 
   ObservableCollection<object> items
)
Protected Friend Sub SetItemCollection( _
   ByVal items As ObservableCollection(Of Object) _
) 

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 10, Windows 8.1

See Also

Reference

Gallery Class
Gallery Members