Property wnd.IsActive Overload Returns true if this window is the active (foreground) window. public bool IsActive { get; } Property Value bool