RibbonComponent.Ribbon 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 top-level Ribbon object that contains the control hierarchy.
public:
property Microsoft::Office::Tools::Ribbon::OfficeRibbon ^ Ribbon { Microsoft::Office::Tools::Ribbon::OfficeRibbon ^ get(); };
[System.ComponentModel.Browsable(false)]
public Microsoft.Office.Tools.Ribbon.OfficeRibbon Ribbon { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Ribbon : Microsoft.Office.Tools.Ribbon.OfficeRibbon
Public ReadOnly Property Ribbon As OfficeRibbon
Property Value
A top-level Ribbon object that contains the rest of the control hierarchy.
- Attributes
Remarks
The Ribbon property is best suited for navigating to controls near the top of the control hierarchy.