Window.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 that indicates whether a window appears in the topmost z-order.
public:
property bool Topmost { bool get(); void set(bool value); };
public bool Topmost { get; set; }
member this.Topmost : bool with get, set
Public Property Topmost As Boolean
Property Value
true
if the window is topmost; otherwise, false
.
Remarks
A window whose Topmost property is set to true
appears above all windows whose Topmost properties are set to false
.
In the group of windows that have Topmost property is set to true
, the window that is currently activated is the topmost window. Likewise for the group of windows that have Topmost property is set to false
.
Note
You cannot set or get this property when a window is hosted in a browser.
Dependency Property Information
Identifier field | TopmostProperty |
Metadata properties set to true |
None |
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για