RibbonBase.RibbonId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Ribbon ID that was used to create this instance of the RibbonBase class.
public:
property System::String ^ RibbonId { System::String ^ get(); };
public string RibbonId { get; }
member this.RibbonId : string
Public ReadOnly Property RibbonId As String
Property Value
The Ribbon ID that was used to create this instance of the RibbonBase class.
Remarks
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.