PrintPreviewDialog::TopMost Property
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Gets or sets a value indicating whether the form should be displayed as the topmost form of your application.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property bool TopMost { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue to display the form as a topmost form; otherwise, false. The default is false.
This property is not relevant for this class.
A topmost form is a form that overlaps all the other forms even if it is not the active or foreground form. Topmost forms are always displayed at the highest point in the z-order of an application. You can use this method to create a form that is always displayed in your application, such as a Find and Replace tool window.
.NET Framework
Available since 1.1
Available since 1.1
Show: