Поделиться через


RibbonToggleButton.Checked Property

Gets or sets a value that indicates whether the toggle button is pressed or not pressed.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property Checked As Boolean
bool Checked { get; set; }

Property Value

Type: System.Boolean
true if the toggle button is pressed; otherwise, false. The default is false.

Remarks

The Checked property can be changed at run time.

.NET Framework Security

See Also

Reference

RibbonToggleButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview