共用方式為


GettingFocusEventArgs.Direction 屬性

定義

取得焦點從專案移至應用程式 UI 內元素的方向。

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

屬性值

焦點移動的方向。

備註

FocusNavigationDirection.PreviousFocusNavigationDirection.Next 無法與 FindNextElementOptions搭配使用。 只有 FocusNavigationDirection.UpFocusNavigationDirection.DownFocusNavigationDirection.LeftFocusNavigationDirection.Right 有效。

適用於

另請參閱