Compartir a través de


RibbonBase.RibbonType Property

Definition

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

public:
 property System::String ^ RibbonType { System::String ^ get(); void set(System::String ^ value); };
public string RibbonType { get; set; }
member this.RibbonType : string with get, set
Public Property RibbonType As String

Property Value

A comma-separated list of Ribbon IDs that are associated with this RibbonBase instance.

Remarks

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 RibbonBase 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.

Applies to