Gets or sets a value indicating whether the form should be displayed as the top-most form of your application.
[Visual Basic] Public Property TopMost As Boolean [C#] public bool TopMost {get; set;} [C++] public: __property bool get_TopMost(); public: __property void set_TopMost(bool); [JScript] public function get TopMost() : Boolean; public function set TopMost(Boolean);
true to display the form as a top-most form; otherwise false. The default is false.
A top-most form is a form that overlaps all the other forms even if it is not the active or foreground form. Top-most forms are always displayed at the highest point in the <span id="frameworks:z_order" class ="gp">Z order</span> of an application.
Form Class | Form Members | System.WinForms Namespace | TopLevel