RibbonComponent.Ribbon Property

Definition

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

C#
[System.ComponentModel.Browsable(false)]
public Microsoft.Office.Tools.Ribbon.OfficeRibbon Ribbon { get; }

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

Producto Versiones
Visual Studio Tools for Office 2017, 2019, 2022