FindNextElementOptions FindNextElementOptions FindNextElementOptions FindNextElementOptions Class

Definition

Provides options to help identify the next element to receive focus with keyboard/controller/remote navigation.

public : sealed class FindNextElementOptions : IFindNextElementOptionspublic sealed class FindNextElementOptions : IFindNextElementOptionsPublic NotInheritable Class FindNextElementOptions Implements IFindNextElementOptions// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Constructors

FindNextElementOptions() FindNextElementOptions() FindNextElementOptions() FindNextElementOptions()

Initializes a new instance of the FindNextElementOptions class.

public : FindNextElementOptions()public FindNextElementOptions()Public Sub New()// This API is not available in Javascript.

Properties

ExclusionRect ExclusionRect ExclusionRect ExclusionRect

Gets or sets a bounding rectangle for which all overlapping objects are excluded as the next element to receive focus.

public : Rect ExclusionRect { get; set; }public Rect ExclusionRect { get; set; }Public ReadWrite Property ExclusionRect As Rect// This API is not available in Javascript.
Value
Rect Rect Rect Rect

The bounding rectangle.

Remarks

Potential candidates are calculated using the bounding rectangle as reference. This rectangle lets you specify another reference instead of the focused element.

This rectangle is used only for calculations. It is never added to the visual tree.

HintRect HintRect HintRect HintRect

Gets or sets a bounding rectangle used to influence which element is most likely to be considered the next to receive focus.

public : Rect HintRect { get; set; }public Rect HintRect { get; set; }Public ReadWrite Property HintRect As Rect// This API is not available in Javascript.
Value
Rect Rect Rect Rect

The bounding rectangle.

Remarks

Potential candidates are calculated using the bounding rectangle as reference. This rectangle lets you specify another reference instead of the focused element.

This rectangle is used only for calculations. It is never added to the visual tree.

SearchRoot SearchRoot SearchRoot SearchRoot

Gets or sets the object that must be the root from which to search for the next element to receive focus.

public : DependencyObject SearchRoot { get; set; }public DependencyObject SearchRoot { get; set; }Public ReadWrite Property SearchRoot As DependencyObject// This API is not available in Javascript.
Value
DependencyObject DependencyObject DependencyObject DependencyObject

The root object.

If null, the entire visual tree of the app.

XYFocusNavigationStrategyOverride XYFocusNavigationStrategyOverride XYFocusNavigationStrategyOverride XYFocusNavigationStrategyOverride

Gets or sets the navigation strategy used to identify the next element to receive focus.

public : XYFocusNavigationStrategyOverride XYFocusNavigationStrategyOverride { get; set; }public XYFocusNavigationStrategyOverride XYFocusNavigationStrategyOverride { get; set; }Public ReadWrite Property XYFocusNavigationStrategyOverride As XYFocusNavigationStrategyOverride// This API is not available in Javascript.