ToolStripItem.Parent Propiedad

Definición

Obtiene o establece el contenedor principal del ToolStripItem.Gets or sets the parent container of the ToolStripItem.

protected public:
 property System::Windows::Forms::ToolStrip ^ Parent { System::Windows::Forms::ToolStrip ^ get(); void set(System::Windows::Forms::ToolStrip ^ value); };
[System.ComponentModel.Browsable(false)]
protected internal System.Windows.Forms.ToolStrip Parent { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Parent : System.Windows.Forms.ToolStrip with get, set
Protected Friend Property Parent As ToolStrip

Valor de propiedad

ToolStrip

ToolStrip que es el contenedor principal de ToolStripItem.A ToolStrip that is the parent container of the ToolStripItem.

Atributos

Comentarios

GetCurrentParent es un descriptor de acceso de solo lectura a la Parent propiedad.GetCurrentParent is a read-only accessor to the Parent property. Un elemento primario se diferencia de un propietario en que un elemento primario denota el actual devuelto ToolStrip en el que se muestra el elemento, que puede estar en el área de desbordamiento.A parent differs from an owner in that a parent denotes the returned current ToolStrip in which the item is displayed, which might be in the overflow area.

El elemento primario ToolStrip produce eventos Paint, etc., mientras que el propietario ToolStrip contiene datos compartidos, como las listas de imágenes.The parent ToolStrip raises paint events and so on, while the owner ToolStrip contains shared data such as image lists. Normalmente, el Parent Administrador de diseño establece la propiedad en ToolStrip .Typically, the Parent property is set by the layout manager on the ToolStrip.

Se aplica a