共用方式為


RibbonToggleButton.Checked Property

Definition

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

public:
 property bool Checked { bool get(); void set(bool value); };
public bool Checked { get; set; }
member this.Checked : bool with get, set
Public Property Checked As Boolean

Property Value

true if the toggle button is pressed; otherwise, false. The default is false.

Remarks

The Checked property can be changed at run time.

Applies to