FormRegionCustomAction.ShowOnRibbon Property
Gets or sets a value that indicates whether to show the FormRegionCustomAction in the Custom Actions group of the Ribbon that displays the form region.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
Property ShowOnRibbon As Boolean
bool ShowOnRibbon { get; set; }
Property Value
Type: System.Boolean
true if the FormRegionCustomAction appears on the Ribbon; otherwise, false. The default is true.
Remarks
If you set the AddressLike property to Response and the ShowOnRibbon property to false, then the custom action will not appear as an option when you click the Vote button in the Respond group of the Ribbon.
.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.