共用方式為


TabControlAutomationPeer.IsKeyboardFocusableCore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Retrieves a value that indicates whether the owner tab control can accept keyboard focus

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

Syntax

'Declaration
Protected Overrides Function IsKeyboardFocusableCore As Boolean
protected override bool IsKeyboardFocusableCore()

Return Value

Type: System.Boolean
true if the owner element can accept keyboard focus; otherwise, false.

Remarks

The default implementation returns true if IsEnabled and IsTabStop are true for the tab control owner.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.