Redigera

Dela via


FocusManager.IsFocusScopeProperty Field

Definition

Identifies the IsFocusScope attached property.

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 

Field Value

Remarks

The default value of IsFocusScope on a Window, Menu, ToolBar, ContextMenu is true.

A focus scope is a container element that keeps track of the FocusManager.FocusedElement within its scope. By default, the Window class is a focus scope as are the Menu, ContextMenu, and ToolBar classes. An element that is a focus scope has IsFocusScope set to true.

For more information on focus, keyboard focus, and logical focus, see the Input Overview.

Applies to