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

Syntax

public bool Checked { get; set; }

Examples

The following code showes how to use the RibbonSplitButton´s 'checked' property. Like mentioned above, if the 'SmallIcon' property is set to 'null', the DisplayMode is set to 'IconTextRelation.SmallIconLabeled', and this 'checked' property is set to 'true, a check mark icon is displayed.

TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton ribbonSplitButton = new TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton();
ribbonSplitButton.SmallIcon = null;
ribbonSplitButton.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled;
ribbonSplitButton.Checked = true;

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.