LosingFocusEventArgs.Direction 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得焦點從專案移至應用程式 UI 內元素的方向。
public:
property FocusNavigationDirection Direction { FocusNavigationDirection get(); };
FocusNavigationDirection Direction();
public FocusNavigationDirection Direction { get; }
var focusNavigationDirection = losingFocusEventArgs.direction;
Public ReadOnly Property Direction As FocusNavigationDirection
屬性值
焦點移動的方向。
備註
FocusNavigationDirection.Previous 和 FocusNavigationDirection.Next 無法搭配 FindNextElementOptions使用。 只有 FocusNavigationDirection.Up、 FocusNavigationDirection.Down、 FocusNavigationDirection.Left或 FocusNavigationDirection.Right 有效。