TX Text Control .NET for Windows Forms

Checked Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or set a value indicating whether the primary button is checked.

Syntax

public bool Checked { get; set; }

Examples

The following example uses RibbonSplitButton.Checked to configure checked as part of the ribbon split button workflow. The change is then applied to the active document or user interface.

ribbonSplitButton.Checked = true;
ribbonSplitButton.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.