UIElement.PredictFocus(FocusNavigationDirection) 메서드


파생 클래스에서 재정의되는 경우 지정된 포커스 이동 방향에 대해 포커스를 받는 요소를 반환하며 실제로 해당 요소로 포커스를 이동하지는 않습니다.When overridden in a derived class, returns the element that would receive focus for a specified focus traversal direction, without actually moving focus to that element.

 virtual System::Windows::DependencyObject ^ PredictFocus(System::Windows::Input::FocusNavigationDirection direction);
public virtual System.Windows.DependencyObject PredictFocus (System.Windows.Input.FocusNavigationDirection direction);
abstract member PredictFocus : System.Windows.Input.FocusNavigationDirection -> System.Windows.DependencyObject
override this.PredictFocus : System.Windows.Input.FocusNavigationDirection -> System.Windows.DependencyObject
Public Overridable Function PredictFocus (direction As FocusNavigationDirection) As DependencyObject

매개 변수


요청된 포커스 이동 방향입니다.The direction of the requested focus traversal.


MoveFocus(TraversalRequest)가 실제로 호출된 경우에 포커스를 받는 요소입니다.The element that would have received focus if MoveFocus(TraversalRequest) were actually invoked.


이 클래스에서이 메서드의 기본 구현은 완전 하지 않으며 항상 null을 반환 합니다.The default implementation of this method in this class is incomplete, and always returns null.

적용 대상

추가 정보