UIElement.GetChildrenInTabFocusOrder UIElement.GetChildrenInTabFocusOrder UIElement.GetChildrenInTabFocusOrder UIElement.GetChildrenInTabFocusOrder Method

Definition

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

protected : virtual IIterable<DependencyObject> GetChildrenInTabFocusOrder()
virtual IIterable<DependencyObject> GetChildrenInTabFocusOrder() const;
protected virtual IEnumerable<DependencyObject> GetChildrenInTabFocusOrder()
Protected Overridable Function GetChildrenInTabFocusOrder() As IEnumerable<DependencyObject>(Of DependencyObject)

Returns

IEnumerable<DependencyObject> IEnumerable<DependencyObject>

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

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

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.