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.

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