This documentation is archived and is not being maintained.

Control.UpdateZOrder Method

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

[Visual Basic]
Protected Sub UpdateZOrder()
protected void UpdateZOrder();
protected: void UpdateZOrder();
protected function UpdateZOrder();


The 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 Control.ControlCollection, the z-order is updated with the new control added to the back.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | Control.ControlCollection