Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RestoreFocusMode Enumeration

.NET Framework (current version)
 

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

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

Public Enumeration 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:
© 2017 Microsoft