Partilhar via


FormRegionCustomAction.Enabled Property

Gets or sets a value that indicates whether the FormRegionCustomAction is enabled for the form region.

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

Syntax

'Declaration
Property Enabled As Boolean
bool Enabled { get; set; }

Property Value

Type: System.Boolean
true if the FormRegionCustomAction is enabled; otherwise, false. The default is true.

Remarks

If you set Enabled to false, the custom action will not appear in the Custom Actions group of the Ribbon when you open the item that displays the form region in Outlook.

.NET Framework Security

See Also

Reference

FormRegionCustomAction Interface

Microsoft.Office.Tools.Outlook Namespace