Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

UIElement.GetChildrenInTabFocusOrder Method

Definition

Namespace:
Windows.UI.Xaml

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Enables a UIElement subclass to expose child elements that take part in Tab focus.

protected:
 virtual IIterable<DependencyObject ^> ^ GetChildrenInTabFocusOrder() = GetChildrenInTabFocusOrder;
IIterable<DependencyObject> GetChildrenInTabFocusOrder();
protected virtual IEnumerable<DependencyObject> GetChildrenInTabFocusOrder();
function getChildrenInTabFocusOrder()
Protected Overridable Function GetChildrenInTabFocusOrder () As IEnumerable(Of DependencyObject)

Returns

A collection of the UIElement's child elements that take part in Tab focus.

Windows requirements

Requirements Description
Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

The default behavior for this method is to return the UIElement's collection of child elements.

When Tab is processed to move focus, the framework’s focus management calls the GetChildrenInTabFocusOrder override. The resulting list of DependencyObjects is used to process Tab focus instead of the element's default collection of children.

Applies to


Feedback

Was this page helpful?