UIElement.XYFocusUpNavigationStrategy 属性

定义

获取或设置一个值,该值指定用于确定向上导航目标元素的策略。

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"/>

属性值

枚举的一个值。 默认值为 “自动”。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

当此属性设置为 “自动”时,策略继承自元素上级。 如果所有上级都具有 “自动”值,则回退策略为 “投影”。

适用于

另请参阅