IsActive Property (IWindow)
Indicates whether this object is the foreground object (currently active).

C# Syntax

bool IsActive {get;}