FocusManager.GetIsFocusScope(DependencyObject) 메서드

정의

지정된 DependencyObject가 포커스 범위인지 여부를 확인합니다.

public:
 static bool GetIsFocusScope(System::Windows::DependencyObject ^ element);
public static bool GetIsFocusScope (System.Windows.DependencyObject element);
static member GetIsFocusScope : System.Windows.DependencyObject -> bool
Public Shared Function GetIsFocusScope (element As DependencyObject) As Boolean

매개 변수

element
DependencyObject

연결된 속성을 읽을 요소입니다.

반환

Boolean

지정된 요소에서 IsFocusScopetrue로 설정되어 있으면 true이고, 그렇지 않으면 false입니다.

설명

포커스 범위는 범위 내에서 추적하는 FocusManager.FocusedElement 컨테이너 요소입니다. 기본적으로 클래스는 Window , ContextMenu및 클래스와 ToolBar 마찬가지로 Menu포커스 범위입니다. 포커스 범위인 요소가 .로 true설정되었습니다IsFocusScope.

포커스, 키보드 포커스 및 논리적 포커스에 대한 자세한 내용은 입력 개요를 참조하세요.

적용 대상