Share via


_OlkCommandButton.Enabled Property

Returns or gets a Boolean (bool in C#) that indicates if the control is allowed to function. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As _OlkCommandButton
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
bool Enabled { get; set; }

Property Value

Type: System.Boolean

Remarks

The default value is False.

When the control is disabled, the contents of the control appear dimmed.

See Also

Reference

_OlkCommandButton Interface

_OlkCommandButton Members

Microsoft.Office.Interop.Outlook Namespace