Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.06 KB

automationpeer_setfocuscore_295682071.md

File metadata and controls

23 lines (15 loc) · 1.06 KB
-api-id -api-type
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.SetFocusCore
winrt method

Windows.UI.Xaml.Automation.Peers.AutomationPeer.SetFocusCore

-description

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

-remarks

The standard implementation uses IsKeyboardFocusable to determine whether the peer reports that the owner can be focused. FrameworkElementAutomationPeer adds behavior that performs the actual focus operation if it is possible.

-examples

-see-also

FrameworkElementAutomationPeer, Control.Focus, Custom automation peers, Accessibility