Window.IsActive Property
.NET Framework (current version)
Gets a value that indicates whether the window is active.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System.Booleantrue if the window is active; otherwise, false. The default is false.
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.
Identifier field | |
Metadata properties set to true | None |
.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Available since 3.0
Silverlight
Available since 4.0
Show: