ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Gallery Class / OnClick Method / OnClick(Object) Method
The custom gallery object clicked.
Version

OnClick(Object) Method
Called when a custom gallery item is clicked.
Syntax
protected internal virtual void OnClick( 
   object item
)

Parameters

item
The custom gallery object clicked.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also