FindNextElementOptions Class

Definition

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

public ref class FindNextElementOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FindNextElementOptions final
[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
Public NotInheritable Class FindNextElementOptions
Inheritance
Object Platform::Object IInspectable 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

See also