Propriedade RibbonDropDownItem.Parent

Obtém o RibbonComponent ao qual o RibbonDropDownItem pertence.

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

Sintaxe

'Declaração
<BrowsableAttribute(False)> _
ReadOnly Property Parent As RibbonComponent
    Get
[BrowsableAttribute(false)]
RibbonComponent Parent { get; }

Valor de propriedade

Tipo: Microsoft.Office.Tools.Ribbon.RibbonComponent
O RibbonComponent ao qual o RibbonDropDownItem pertence.

Comentários

Se este RibbonDropDownItem não foi adicionado a um controle, em seguida, a Parent retorna a propriedade nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

RibbonDropDownItem Interface

Namespace Microsoft.Office.Tools.Ribbon

Outros recursos

Visão geral do modelo de objeto de faixa de opções