Udostępnij za pośrednictwem


RibbonDropDownItem.Parent Property

Definition

Gets the RibbonComponent to which this RibbonDropDownItem belongs.

public:
 property Microsoft::Office::Tools::Ribbon::RibbonComponent ^ Parent { Microsoft::Office::Tools::Ribbon::RibbonComponent ^ get(); };
[System.ComponentModel.Browsable(false)]
public Microsoft.Office.Tools.Ribbon.RibbonComponent Parent { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Parent : Microsoft.Office.Tools.Ribbon.RibbonComponent
Public ReadOnly Property Parent As RibbonComponent

Property Value

The RibbonComponent to which this RibbonDropDownItem belongs.

Attributes

Remarks

If this RibbonDropDownItem has not been added to a control, then the Parent property returns null.

Applies to