AutomationPeer.IsKeyboardFocusableCore AutomationPeer.IsKeyboardFocusableCore AutomationPeer.IsKeyboardFocusableCore AutomationPeer.IsKeyboardFocusableCore Method

Definition

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

protected : virtual Platform::Boolean IsKeyboardFocusableCore()
virtual bool IsKeyboardFocusableCore() const;
protected virtual bool IsKeyboardFocusableCore()
Protected Overridable Function IsKeyboardFocusableCore() As bool
Returns
bool bool

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.

See Also