FindNextElementOptions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
FocusNavigationDirection.Previous and FocusNavigationDirection.Next cannot be used with FindNextElementOptions. Only FocusNavigationDirection.Up, FocusNavigationDirection.Down, FocusNavigationDirection.Left, or FocusNavigationDirection.Right are valid.
Find |
Initializes a new instance of the FindNextElementOptions class. |
Exclusion |
Gets or sets a bounding rectangle where all overlapping navigation candidates are excluded from navigation focus. |
Hint |
Gets or sets a bounding rectangle used to identify the focus candidates most likely to receive navigation focus. |
Search |
Gets or sets the object that must be the root from which to identify the next focus candidate to receive navigation focus. |
XYFocus |
Gets or sets the focus navigation strategy used to identify the best candidate element to receive focus. |
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |