OfficeRibbon.Global Property (2007 System)
Gets or sets a value that determines whether this OfficeRibbon can be used in multiple contexts simultaneously.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property Global As Boolean
'Usage
Dim instance As OfficeRibbon
Dim value As Boolean
value = instance.Global
instance.Global = value
public bool Global { get; set; }
public:
property bool Global {
bool get ();
void set (bool value);
}
public function get Global () : boolean
public function set Global (value : boolean)
Property Value
Type: System.Boolean
true if this OfficeRibbon object is shared among multiple contexts; otherwise, false. The default is true.
Remarks
OfficeRibbon objects that have this property set to false are created every time a new Outlook Inspector is opened.
This property can be set only before the Ribbon is loaded into the Office application. For information about setting this property, see Ribbon Object Model Overview.
.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.