Udostępnij za pośrednictwem


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

See Also

Reference

RibbonDropDownItem Class

RibbonDropDownItem Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview