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

In This Topic
    OnClick(Object) Method
    In This Topic
    Called when a custom gallery item is clicked.
    Syntax
    protected internal virtual void OnClick( 
       object item
    )
    Protected Friend Overloads Overridable Sub OnClick( _
       ByVal item As Object _
    ) 

    Parameters

    item
    The custom gallery object clicked.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also