RestoreFocusMode Enumeration

.NET Framework (current version)
 
System_CAPS_noteNote

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

Specifies how Windows Presentation Foundation (WPF) restores focus to the window.

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

public enum RestoreFocusMode

Member nameDescription
Auto

WPF automatically tries to restore focus to the element that last had focus.

None

WPF does not restore focus.

.NET Framework
Available since 4.0
Return to top
Show: