Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RestoreFocusMode Enumeration
Collapse the table of content
Expand the table of content

RestoreFocusMode Enumeration

.NET Framework 4.6 and 4.5

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

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

public enum RestoreFocusMode
<object property="enumerationMemberName" .../>

Member nameDescription
AutoWPF automatically tries to restore focus to the element that last had focus.
NoneWPF does not restore focus.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft