Partager via


RibbonBase.Global Property

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

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

Syntax

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

Property Value

Type: System.Boolean
true if this RibbonBase object is shared among multiple contexts; otherwise, false. The default is true.

Remarks

RibbonBase 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

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace