共用方式為


Keyboard.DefaultRestoreFocusMode 屬性

定義

取得或設定還原焦點時,Windows Presentation Foundation (WPF) 的行為。

public:
 static property System::Windows::Input::RestoreFocusMode DefaultRestoreFocusMode { System::Windows::Input::RestoreFocusMode get(); void set(System::Windows::Input::RestoreFocusMode value); };
public static System.Windows.Input.RestoreFocusMode DefaultRestoreFocusMode { get; set; }
static member DefaultRestoreFocusMode : System.Windows.Input.RestoreFocusMode with get, set
Public Shared Property DefaultRestoreFocusMode As RestoreFocusMode

屬性值

列舉值,指定還原焦點時 WPF 的行為。 預設為 Auto

適用於