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

In This Topic
    ButtonType Property
    In This Topic
    Gets or sets the type of TrayButton.
    Syntax
    public TrayButtonType ButtonType {get;}
    Public ReadOnly Property ButtonType As TrayButtonType
    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