編輯

共用方式為


IInputElement.Focus Method

Definition

Attempts to focus the keyboard on this element.

public:
 bool Focus();
public bool Focus ();
abstract member Focus : unit -> bool
Public Function Focus () As Boolean

Returns

true if keyboard focus is moved to this element or already was on this element; otherwise, false.

Remarks

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

Applies to

See also