共用方式為


RibbonSplitButton.Checked Property

Gets or sets a value that indicates whether RibbonSplitButton 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 RibbonSplitButton is pressed; otherwise, false. The default is false.

Remarks

This property applies only if ButtonType is set to ToggleButton.

This property can be changed at run time.

.NET Framework Security

See Also

Reference

RibbonSplitButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview