Gets or sets the checked state of the Button.

Namespace:  ESRI.ArcGISExplorer.Application

Assembly:  ESRI.ArcGISExplorer.Application (in ESRI.ArcGISExplorer.Application.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public bool Checked { get; set; }
Visual Basic (Declaration)
Public Property Checked As Boolean

Field Value

trueTruetruetrue (True in Visual Basic) if the Button is checked on the Ribbon; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

The checked state of a Button can be set programmatically; this is commonly done from within the overridden OnClick()()() method of the Button itself. When checked, the button appears highlighted in the Ribbon until unchecked again.

An alternative approach is to use a CheckBox add-in instead.

Version Information: This property is supported from version 2.0.0.1500.

See Also