共用方式為


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 有效。

適用於

另請參閱