Udostępnij za pośrednictwem


RibbonComponent.Ribbon Property

Definition

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.

Applies to