AutomationPeer.SetFocusCore AutomationPeer.SetFocusCore AutomationPeer.SetFocusCore AutomationPeer.SetFocusCore Method

Definition

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

protected : virtual void SetFocusCore()
virtual void SetFocusCore() const;
protected virtual void SetFocusCore()
Protected Overridable Sub SetFocusCore()

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.

See Also