Share via


FindNextElementOptions Class

Definition

Provides options to help identify the next element that can programmatically receive navigation focus.

[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FindNextElementOptions
Inheritance
Object FindNextElementOptions
Attributes

Remarks

FocusNavigationDirection.Previous and FocusNavigationDirection.Next cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up, FocusNavigationDirection.Down, FocusNavigationDirection.Left, or FocusNavigationDirection.Right are valid.

Constructors

FindNextElementOptions()

Initializes a new instance of the FindNextElementOptions class.

Properties

ExclusionRect

Gets or sets a bounding rectangle where all overlapping navigation candidates are excluded from navigation focus.

HintRect

Gets or sets a bounding rectangle used to identify the focus candidates most likely to receive navigation focus.

SearchRoot

Gets or sets the object that must be the root from which to identify the next focus candidate to receive navigation focus.

XYFocusNavigationStrategyOverride

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

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also