FocusManager.IsFocusScope 연결된 속성

정의

이 속성이 연결된 요소가 포커스 범위인지 여부를 확인합니다.

see GetIsFocusScope, and SetIsFocusScope
see GetIsFocusScope, and SetIsFocusScope
see GetIsFocusScope, and SetIsFocusScope

예제

다음 예제에서는 StackPanel 포커스를 scope.

<StackPanel Name="focusScope1" 
            FocusManager.IsFocusScope="True"
            Height="200" Width="200">
  <Button Name="button1" Height="50" Width="50"/>
  <Button Name="button2" Height="50" Width="50"/>
</StackPanel>

설명

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

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

종속성 속성 정보

식별자 필드 IsFocusScopeProperty
메타 데이터 속성 설정 true 없음

적용 대상