PrintPreviewDialog.TopMost Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the form should be displayed as the topmost form of your application.
public:
property bool TopMost { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool TopMost { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.TopMost : bool with get, set
Public Property TopMost As Boolean
Property Value
true
to display the form as a topmost form; otherwise, false
. The default is false
.
- Attributes
Remarks
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.