UIElement.XYFocusRightNavigationStrategy Property

Definition

Gets or sets a value that specifies the strategy used to determine the target element of a right navigation.

Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.XYFocusRightNavigationStrategy.

public:
 property XYFocusNavigationStrategy XYFocusRightNavigationStrategy { XYFocusNavigationStrategy get(); void set(XYFocusNavigationStrategy value); };
XYFocusNavigationStrategy XYFocusRightNavigationStrategy();

void XYFocusRightNavigationStrategy(XYFocusNavigationStrategy value);
public XYFocusNavigationStrategy XYFocusRightNavigationStrategy { get; set; }
var xYFocusNavigationStrategy = uIElement.xYFocusRightNavigationStrategy;
uIElement.xYFocusRightNavigationStrategy = xYFocusNavigationStrategy;
Public Property XYFocusRightNavigationStrategy As XYFocusNavigationStrategy
<uiElement XYFocusRightNavigationStrategy="xyFocusNavigationStrategyMemberName"/>

Property Value

XYFocusNavigationStrategy

A value of the enumeration. The default is Auto.

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

When this property is set to Auto, the strategy is inherited from the elements ancestors. If all ancestors have a value of Auto, the fallback strategy is Projection.

Applies to

See also