Jaa


UIElement.GetChildrenInTabFocusOrder Method

Definition

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

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