UIElementAutomationPeer.HasKeyboardFocusCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer currently has keyboard input focus. This method is called by HasKeyboardFocus().
protected:
override bool HasKeyboardFocusCore();
protected override bool HasKeyboardFocusCore ();
override this.HasKeyboardFocusCore : unit -> bool
Protected Overrides Function HasKeyboardFocusCore () As Boolean
Returns
true
if the element has keyboard input focus; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.