FormRegionCustomAction.ShowOnRibbon Property (2007 System)
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.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)
Syntax
'Declaration
Public Property ShowOnRibbon As Boolean
'Usage
Dim instance As FormRegionCustomAction
Dim value As Boolean
value = instance.ShowOnRibbon
instance.ShowOnRibbon = value
public bool ShowOnRibbon { get; set; }
public:
property bool ShowOnRibbon {
bool get ();
void set (bool value);
}
public function get ShowOnRibbon () : boolean
public function set ShowOnRibbon (value : boolean)
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.