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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.Office.Tools.Ribbon (Espacio de nombres)
Otros recursos
Información general sobre el modelo de objetos para la cinta de opciones