RibbonSplitButton.Enabled Property (2007 System)

Gets or sets a value that indicates whether the RibbonSplitButton control can respond to user interaction.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public Overrides Property Enabled As Boolean
'Usage
Dim instance As RibbonSplitButton 
Dim value As Boolean 

value = instance.Enabled

instance.Enabled = value
public override bool Enabled { get; set; }
public:
virtual property bool Enabled {
    bool get () override;
    void set (bool value) override;
}
public override function get Enabled () : boolean 
public override function set Enabled (value : boolean)

Property Value

Type: System.Boolean
true if the RibbonSplitButton control can respond to user interaction; otherwise, false. The default is true.

Remarks

You can use the Enabled property to enable or disable a RibbonSplitButton control at run time. For example, you can disable split buttons that do not apply to the current state of the application. You can also disable a split button to restrict its use.

.NET Framework Security

See Also

Reference

RibbonSplitButton Class

RibbonSplitButton Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview