Compartilhar via


RibbonDropDownItem.Parent Property

Gets the RibbonComponent to which this RibbonDropDownItem belongs.

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

Syntax

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

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonComponent
The RibbonComponent to which this RibbonDropDownItem belongs.

Remarks

If this RibbonDropDownItem has not been added to a control, then the Parent property returns nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

RibbonDropDownItem Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview