AutomationPeer.SetFocus Method

Definition

Sets the keyboard focus on the element that is associated with this automation peer.

public:
 void SetFocus();
public void SetFocus ();
member this.SetFocus : unit -> unit
Public Sub SetFocus ()

Exceptions

A public call to this method is currently in progress.

Applies to

See also