Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.14 KB

automationpeer_iskeyboardfocusablecore_357934921.md

File metadata and controls

25 lines (17 loc) · 1.14 KB
-api-id -api-type
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.IsKeyboardFocusableCore
winrt method

Windows.UI.Xaml.Automation.Peers.AutomationPeer.IsKeyboardFocusableCore

-description

Provides the peer's behavior when a Microsoft UI Automation client calls IsKeyboardFocusable or an equivalent Microsoft UI Automation client API.

-returns

true if the element can accept keyboard focus; otherwise, false.

-remarks

The standard implementation at the AutomationPeer level returns false. However, FrameworkElementAutomationPeer adds behavior that checks whether the owner is a Control or otherwise focusable, and whether the owner is enabled.

-examples

-see-also

FrameworkElementAutomationPeer, Custom automation peers, Accessibility