RibbonComponent.Parent Property

 

Gets a RibbonComponent that represents the parent of this RibbonComponent.

Namespace:   Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

[BrowsableAttribute(false)]
RibbonComponent Parent { get; }

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonComponent

A RibbonComponent that represents the parent of this RibbonComponent.

Use the Parent property to navigate the control hierarchy to controls a few levels above the current RibbonComponent object.

If your control is deeply nested and the control you want to find is closer to the Ribbon, you might want to consider using the Ribbon property and the collections that belong to the container controls that are derived from RibbonComponent to navigate to the control.

Return to top
Show: