Control.UpdateZOrder 方法

定義

以控制項的父控制項疊置順序更新控制項。Updates the control in its parent's z-order.

protected:
 void UpdateZOrder();
protected void UpdateZOrder ();
member this.UpdateZOrder : unit -> unit
Protected Sub UpdateZOrder ()

備註

UpdateZOrder 方法會更新控制項在其父控制項的迭置順序中的位置。The UpdateZOrder method updates the position of the control in its parent control's z-order. 例如,如果這個控制項是新增至 Control.ControlCollection的新建立控制項,則會以新增至後端的新控制項來更新 z 順序。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.

適用於

另請參閱