UIElement.XYFocusUpNavigationStrategy Property


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

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

 property XYFocusNavigationStrategy XYFocusUpNavigationStrategy { XYFocusNavigationStrategy get(); void set(XYFocusNavigationStrategy value); };
XYFocusNavigationStrategy XYFocusUpNavigationStrategy();

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

Property Value


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)


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