Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace