IsFocused Property (IUiObjectBase)
Indicates whether this object is currently in focus.

C# Syntax

bool IsFocused {get;}