ToolStripItem.Parent ToolStripItem.Parent ToolStripItem.Parent ToolStripItem.Parent Property

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; }
member this.Parent : System.Windows.Forms.ToolStrip with get, set
Protected Friend Property Parent As ToolStrip

Valor de propiedad

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

Comentarios

GetCurrentParentes un descriptor de acceso de Parent solo lectura a la 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 ToolStrip devuelto 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 ToolStrip primario produce eventos Paint, etc., mientras que ToolStrip el propietario 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 ToolStripde diseño establece la propiedad en.Typically, the Parent property is set by the layout manager on the ToolStrip.

Se aplica a