ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Button Class / OnClick Method
Version

OnClick Method (Button)
Called when the Button is clicked.
Syntax
protected internal virtual void OnClick()
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also