Window.IsActive Property

 

Gets a value that indicates whether the window is active.

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

Public ReadOnly Property IsActive As Boolean

Property Value

Type: System.Boolean

true 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

IsActiveProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Return to top
Show: