Keyboard.DefaultRestoreFocusMode Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 4.0
Return to top