System.Windows.Forms.Control.BringToFront Method

Brings the control to the front of the z-order.

Syntax

public void BringToFront ()

Remarks

The control is moved to the front of the z-order. If the control is a child of another control, the child control is moved to the front of the z-order. Control.BringToFront does not make a control a top-level control, and it does not raise the Control.Paint event.

Requirements

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