Share via


FocusManager.IsFocusScopeProperty 字段

定义

标识 IsFocusScope 附加属性。

public: static initonly System::Windows::DependencyProperty ^ IsFocusScopeProperty;
public static readonly System.Windows.DependencyProperty IsFocusScopeProperty;
 staticval mutable IsFocusScopeProperty : System.Windows.DependencyProperty
Public Shared ReadOnly IsFocusScopeProperty As DependencyProperty 

字段值

注解

、、ToolBarMenuContextMenu 上的 Window默认值IsFocusScopetrue

焦点范围是一个容器元素,用于跟踪其范围内的 FocusManager.FocusedElement。 默认情况下, Window 类与 、 ContextMenuToolBar 类一Menu样是焦点范围。 作为焦点范围的元素已 IsFocusScope 设置为 true

有关焦点、键盘焦点和逻辑焦点的详细信息,请参阅 输入概述

适用于