Dela via


UIElement.XYFocusUpNavigationStrategy Property

Definition

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

public:
 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 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