ToolStripItem.GetCurrentParent Method

Definition

Recupera el ToolStrip que es el contenedor del ToolStripItem actual.Retrieves the ToolStrip that is the container of the current ToolStripItem.

public:
 System::Windows::Forms::ToolStrip ^ GetCurrentParent();
public System.Windows.Forms.ToolStrip GetCurrentParent ();
member this.GetCurrentParent : unit -> System.Windows.Forms.ToolStrip
Public Function GetCurrentParent () As ToolStrip

Returns

ToolStrip

ToolStrip que es el contenedor del ToolStripItem actual.A ToolStrip that is the container of the current ToolStripItem.

Remarks

GetCurrentParent es un descriptor de acceso de solo lectura para la propiedad Parent.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 ToolStrip actual devuelto en el que se muestra el elemento, que podría 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.

Applies to