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