Share via


RibbonSplitButton.IsCheckable Property

Gets or sets a value that indicates whether a user can check and uncheck the button.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property IsCheckable As Boolean
public bool IsCheckable { get; set; }
public:
property bool IsCheckable {
    bool get ();
    void set (bool value);
}
member IsCheckable : bool with get, set
function get IsCheckable () : boolean
function set IsCheckable (value : boolean)

Property Value

Type: System.Boolean
true if the user can check and uncheck the button; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

IsCheckableProperty

Metadata properties set to true

None

Remarks

When this property is true, the button behaves as a RibbonToggleButton.

.NET Framework Security

See Also

Reference

RibbonSplitButton Class

Microsoft.Windows.Controls.Ribbon Namespace