Expand Minimize

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft