ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TrayButton Class / ButtonType Property
Version

ButtonType Property
Gets or sets the type of TrayButton.
Syntax
public TrayButtonType ButtonType {get;}
Remarks

ButtonType must be set either within the overridden constructor, or within the overridden Initialize when the DAML ID is known.

By default, ButtonType is set as TrayButtonType.Button

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also