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
Get
Set
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
- 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.