Partilhar via


OfficeRibbon.Global Property

Gets or sets a value that determines whether this OfficeRibbon can be used in multiple contexts simultaneously.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

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

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

See Also

Reference

OfficeRibbon Interface

Microsoft.Office.Tools.Ribbon Namespace