SetFocus Method
Sets the keyboard focus on the element that is associated with this automation peer.
Definition
Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public void SetFocus()
Public Sub SetFocus
member SetFocus : unit -> unit