RestoreFocusMode RestoreFocusMode RestoreFocusMode RestoreFocusMode Enum

Definition

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

public enum class RestoreFocusMode
public enum RestoreFocusMode
type RestoreFocusMode = 
Public Enum RestoreFocusMode
Inheritance
RestoreFocusModeRestoreFocusModeRestoreFocusModeRestoreFocusMode

Fields

Auto Auto Auto Auto 0

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

None None None None 1

WPF does not restore focus.

Applies to