Udostępnij za pośrednictwem


RibbonSplitButton.ButtonEnabled Property

Definition

Gets or sets a value that indicates whether the button on the RibbonSplitButton is enabled.

public:
 property bool ButtonEnabled { bool get(); void set(bool value); };
public bool ButtonEnabled { get; set; }
member this.ButtonEnabled : bool with get, set
Public Property ButtonEnabled As Boolean

Property Value

true if the button of the RibbonSplitButton is enabled; otherwise, false. The default is false.

Remarks

This property is specific to the button part of the RibbonSplitButton. If only the button is disabled, users can still open the drop-down menu and click the controls there. In contrast, the Enabled property indicates whether the entire RibbonSplitButton control is enabled. If the control is disabled completely, the entire control does not react to any user actions.

This property can be changed at run time.

Applies to