LosingFocusEventArgs.Direction 属性

定义

获取焦点在应用 UI 中从元素移动到元素的方向。

public:
 property FocusNavigationDirection Direction { FocusNavigationDirection get(); };
FocusNavigationDirection Direction();
public FocusNavigationDirection Direction { get; }
var focusNavigationDirection = losingFocusEventArgs.direction;
Public ReadOnly Property Direction As FocusNavigationDirection

属性值

焦点移动的方向。

注解

FocusNavigationDirection.PreviousFocusNavigationDirection.Next 不能与 FindNextElementOptions 一起使用。 只有 FocusNavigationDirection.UpFocusNavigationDirection.DownFocusNavigationDirection.LeftFocusNavigationDirection.Right 有效。

适用于

另请参阅