Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.


Gets a value that indicates whether the window is active. This is a dependency property.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)
XML-Namespaces:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public bool IsActive { get; }
/** @property */
public boolean get_IsActive ()

public function get IsActive () : boolean

Sie können diese Eigenschaft nicht in XAML verwenden.


true if the window is active; false otherwise. The default value is false.

Identifier field


Metadata properties set to true


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. An active window will also be the top-most of all top-level windows that don't explicitly set the Topmost property.

Microsoft .NET Framework 3.0 wird unter Windows Vista, Microsoft Windows XP SP2 und Windows Server 2003 SP1 unterstützt.

.NET Framework

Unterstützt in: 3.0