System.Windows.Forms.Control.UpdateZOrder Method

Updates the control in its parent's z-order.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected void UpdateZOrder ()

Remarks

The Control.UpdateZOrder method updates the position of the control in its parent control's z-order. For example, if this control is a newly created control that was added to a System.Windows.Forms.Control.ControlCollection, the z-order is updated with the new control added to the back.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0