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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace