Compartir a través de


RibbonDropDownItem.Parent (Propiedad)

Obtiene el objeto RibbonComponent al que pertenece este objeto RibbonDropDownItem.

Espacio de nombres:  Microsoft.Office.Tools.Ribbon
Ensamblado:  Microsoft.Office.Tools.Common (en Microsoft.Office.Tools.Common.dll)

Sintaxis

'Declaración
<BrowsableAttribute(False)> _
ReadOnly Property Parent As RibbonComponent
    Get
[BrowsableAttribute(false)]
RibbonComponent Parent { get; }

Valor de propiedad

Tipo: Microsoft.Office.Tools.Ribbon.RibbonComponent
Objeto RibbonComponent al que pertenece esta RibbonDropDownItem.

Comentarios

Si este objeto RibbonDropDownItem no se ha agregado a un control, la propiedad Parent devolverá nullreferencia null (Nothing en Visual Basic).

Seguridad de .NET Framework

Vea también

Referencia

RibbonDropDownItem Interfaz

Microsoft.Office.Tools.Ribbon (Espacio de nombres)

Otros recursos

Información general sobre el modelo de objetos para la cinta de opciones