UIElementAutomationPeer.HasKeyboardFocusCore 方法

定义

获取一个值,该值指示与此 UIElementAutomationPeer 关联的 UIElement 当前是否具有键盘输入点。 此方法由 HasKeyboardFocus() 调用。

protected:
 override bool HasKeyboardFocusCore();
protected override bool HasKeyboardFocusCore ();
override this.HasKeyboardFocusCore : unit -> bool
Protected Overrides Function HasKeyboardFocusCore () As Boolean

返回

Boolean

如果元素具有键盘输入点,则为 true;否则为 false

适用于