Compartir a través de


RibbonComponent.Ribbon Property

Gets the top-level Ribbon object that contains the control hierarchy.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
ReadOnly Property Ribbon As OfficeRibbon
[BrowsableAttribute(false)]
OfficeRibbon Ribbon { get; }

Property Value

Type: Microsoft.Office.Tools.Ribbon.OfficeRibbon
A top-level Ribbon object that contains the rest of the control hierarchy.

Remarks

The Ribbon property is best suited for navigating to controls near the top of the control hierarchy.

.NET Framework Security

See Also

Reference

RibbonComponent Interface

Microsoft.Office.Tools.Ribbon Namespace