AutomationElement.AutomationElementInformation.HasKeyboardFocus Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob das Element den Tastaturfokus hat.

public:
 property bool HasKeyboardFocus { bool get(); };
public bool HasKeyboardFocus { get; }
member this.HasKeyboardFocus : bool
Public ReadOnly Property HasKeyboardFocus As Boolean

Eigenschaftswert

true wenn das Element den Tastaturfokus hat; andernfalls false.

Hinweise

Wenn ein Element innerhalb eines Containers den Fokus hat, HasKeyboardFocus gilt auch für das Containerelement.

Weitere Informationen finden Sie unter HasKeyboardFocusProperty.

Gilt für: