HwndSourceParameters.RestoreFocusMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets how WPF handles restoring focus to the window.
public:
property System::Windows::Input::RestoreFocusMode RestoreFocusMode { System::Windows::Input::RestoreFocusMode get(); void set(System::Windows::Input::RestoreFocusMode value); };
public System.Windows.Input.RestoreFocusMode RestoreFocusMode { get; set; }
member this.RestoreFocusMode : System.Windows.Input.RestoreFocusMode with get, set
Public Property RestoreFocusMode As RestoreFocusMode
Property Value
One of the enumeration values that specifies how WPF handles restoring focus for the window. The default is Auto.
Remarks
WPF automatically tries to restore focus to the window unless RestoreFocusMode is set to None.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.