ContentElementAutomationPeer.HasKeyboardFocusCore 方法

定义

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

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

返回

Boolean

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

适用于

另请参阅