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

Syntax

public bool Checkable { get; set; }
Public Property Checkable() As Boolean

Examples

The following example shows how set a RibbonSplitButtons 'checkable' property. In order to use the 'checked' property, the 'checkable' has to be set to 'true' beforehand.

TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton ribbonSplitButton = new TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton();
ribbonSplitButton.Text = "My RibbonSplitButton";
ribbonSplitButton.ButtonEnabled = true;
ribbonSplitButton.Checkable = true;
//Now the 'checked' property can be set.
Dim ribbonSplitButton As TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton = New TXTextControl.Windows.Forms.Ribbon.RibbonSplitButton()
ribbonSplitButton.Text = "My RibbonSplitButton"
ribbonSplitButton.ButtonEnabled = True
ribbonSplitButton.Checkable = True
'Now the 'checked' property can be set.