ArcGIS Pro 2.9 API Reference Guide
Add Method (Gallery)

ArcGIS.Desktop.Framework.Contracts Namespace > Gallery Class : Add Method
The item being added to the gallery.
Adds an item to the collection.
Syntax
protected void Add( 
   object item
)
Protected Sub Add( _
   ByVal item As Object _
) 

Parameters

item
The item being added to the gallery.
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, Windows 8.1

See Also

Reference

Gallery Class
Gallery Members