RestoreFocusMode 列舉

定義

指定 Windows Presentation Foundation (WPF) 如何將焦點還原至視窗。Specifies how Windows Presentation Foundation (WPF) restores focus to the window.

public enum class RestoreFocusMode
public enum RestoreFocusMode
type RestoreFocusMode = 
Public Enum RestoreFocusMode
繼承
RestoreFocusMode

欄位

Auto 0

WPFWPF 會自動嘗試將焦點還原至最後擁有焦點的項目。automatically tries to restore focus to the element that last had focus.

None 1

WPFWPF 不會還原焦點。does not restore focus.

適用於