Skip to main content

HasFocus Method

Determines whether the text box or drop-down portion of the AutoCompleteBox control has focus.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected bool HasFocus()
View Source

Return Value

Boolean
true to indicate the AutoCompleteBox has focus; otherwise, false.

See Also

Reference

AutoCompleteBox Class
Avalonia.Controls Namespace