Export (0) Print
Expand All

OfficeRibbon.RibbonType Property

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

Gets a comma-separated list of Ribbon IDs that are associated with this OfficeRibbon instance.

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)

string RibbonType { get; set; }

Property Value

Type: System.String
A comma-separated list of Ribbon IDs that are associated with this OfficeRibbon instance.

Excel, Word, and PowerPoint typically have only one Ribbon ID in this property. Outlook can have several IDs, corresponding to the various message classes for which the particular OfficeRibbon instance is valid.

The designer provides a drop-down list of valid Ribbon IDs.

Ribbon IDs are used to associate a Ribbon class with a particular context window.

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.

Show:
© 2014 Microsoft