Dela via


ContentLink.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 = contentLink.xYFocusUpNavigationStrategy;
contentLink.xYFocusUpNavigationStrategy = xYFocusNavigationStrategy;
Public Property XYFocusUpNavigationStrategy As XYFocusNavigationStrategy

Property Value

A value of the enumeration. The default is Auto.

Remarks

Important

This API supports content links. The Windows features that enable content links are not available in versions of Windows after Windows 10 version 1903. Content links for XAML text controls will not function in versions of Windows later than version 1903.

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