Export (0) Print
Expand All

RibbonBase.RibbonId Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the Ribbon ID that was used to create this instance of the RibbonBase class.

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

public string RibbonId { get; }

Property Value

Type: System.String
The Ribbon ID that was used to create this instance of the RibbonBase class.

You should not attempt to set this property.

You can use the RibbonType property to get all of the Ribbon IDs that are associated with this RibbonBase instance. The RibbonId property returns only the single ID that was used to create this RibbonBase instance. For example, you can use this property to determine whether this Ribbon instance is being displayed in a mail composition item.

Show:
© 2014 Microsoft