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 this RibbonControl is enabled.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Overridable Property Enabled As Boolean
'Usage
Dim instance As RibbonControl
Dim value As Boolean
value = instance.Enabled
instance.Enabled = value
public virtual bool Enabled { get; set; }
public:
virtual property bool Enabled {
bool get ();
void set (bool value);
}
public function get Enabled () : boolean
public function set Enabled (value : boolean)
Property Value
Type: System.Boolean
true if the RibbonControl is enabled; otherwise, false.
Remarks
Controls that have their Enabled properties set to false appear unavailable and cannot be used by the end user.
.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.