Checked Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or set a value indicating whether this RibbonToggleButton is checked.
Syntax
public bool Checked { get; set; }Public Property Checked As BooleanExamples
The following example uses RibbonToggleButton.Checked to configure checked as part of the ribbon toggle button workflow. The change is then applied to the active document or user interface.
ribbonToggleButton.Checked = true;
ribbonToggleButton.Update();ribbonToggleButton.Checked = True
ribbonToggleButton.Update()Remarks
A check mark icon is displayed if the SmallIcon property is set to null, the DisplayMode property value is IconTextRelation.SmallIconLabeled and the Checked property value is set to true.