RibbonDropDownItem.Parent Property (2007 System)
Gets the RibbonComponent to which this RibbonDropDownItem belongs.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Parent As RibbonComponent
'Usage
Dim instance As RibbonDropDownItem
Dim value As RibbonComponent
value = instance.Parent
[BrowsableAttribute(false)]
public RibbonComponent Parent { get; }
[BrowsableAttribute(false)]
public:
property RibbonComponent^ Parent {
RibbonComponent^ get ();
}
public function get Parent () : RibbonComponent
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