Window.IsActive Eigenschaft
Definition
Ruft einen Wert ab, der angibt, ob das Fenster aktiv ist.Gets a value that indicates whether the window is active.
public:
property bool IsActive { bool get(); };
public bool IsActive { get; }
member this.IsActive : bool
Public ReadOnly Property IsActive As Boolean
Eigenschaftswert
true
, wenn das Fenster aktiv ist, andernfalls false
.true
if the window is active; otherwise, false
. Die Standardeinstellung ist false
.The default is false
.
Hinweise
Ein aktives Fenster ist das aktuelle Vordergrund Fenster des Benutzers und hat den Fokus, der durch die aktive Darstellung der Titelleiste gekennzeichnet wird.An active window is the user's current foreground window and has the focus, which is signified by the active appearance of the title bar. Ein aktives Fenster ist auch der oberste Rand aller Fenster der obersten Ebene, die die Topmost Eigenschaft nicht explizit festlegen.An active window will also be the top-most of all top-level windows that don't explicitly set the Topmost property.
Informationen zur AbhängigkeitseigenschaftDependency Property Information
BezeichnerfeldIdentifier field | IsActiveProperty |
Metadateneigenschaften auf true festgelegtMetadata properties set to true |
KeineNone |