PrintPreviewDialog.TopMost Property

 

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.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public bool TopMost { get; set; }

Property Value

Type: System.Boolean

true 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
Return to top
Show: