Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DefaultRestoreFocusMode Property

Keyboard.DefaultRestoreFocusMode Property

.NET Framework 4.6 and 4.5

Gets or sets the behavior of Windows Presentation Foundation (WPF) when restoring focus.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public static RestoreFocusMode DefaultRestoreFocusMode { get; set; }

Property Value

Type: System.Windows.Input.RestoreFocusMode
An enumeration value that specifies the behavior of WPF when restoring focus. The default in Auto.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft