Control.SendToBack Control.SendToBack Control.SendToBack Control.SendToBack Method

定义

将控件发送到 Z 顺序的后面。Sends the control to the back of the z-order.

public:
 void SendToBack();
public void SendToBack ();
member this.SendToBack : unit -> unit
Public Sub SendToBack ()

注解

控件移动到 z 顺序的后面。The control is moved to the back of the z-order. 如果控件是另一个控件的子控件,则子控件将移到 z 顺序的后面。If the control is a child of another control, the child control is moved to the back of the z-order. 如果该控件为顶级控件,则除非该控件处于活动状态,否则此方法将不能正常工作。If the control is a top-level control, this method will not work correctly unless the control is active. 顶级控件是一个控件,例如Form,它不是另一个控件的子控件。A top-level control is a control, such as a Form, that is not a child of another control. 活动控件是具有输入焦点的可见控件。An active control is a visible control that has input focus. 若要将SendToBack方法与非活动的顶级控件一起使用,请先对BringToFront控件调用方法。To use the SendToBack method with an inactive, top-level control, first call the BringToFront method on the control.

适用于

另请参阅