-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.Automation.Peers.AutomationPeer.SetFocusCore |
winrt method |
Provides the peer's behavior when a Microsoft UI Automation client calls SetFocus or an equivalent Microsoft UI Automation client API.
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.
FrameworkElementAutomationPeer, Control.Focus, Custom automation peers, Accessibility