HwndSource.RestoreFocusMode Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the RestoreFocusMode for the window.

Namespace:   System.Windows.Interop
Assembly:  PresentationCore (in PresentationCore.dll)

public RestoreFocusMode RestoreFocusMode { get; }

Property Value

Type: System.Windows.Input.RestoreFocusMode

The RestoreFocusMode for the window.

This property can be set only in the HwndSource.HwndSource(HwndSourceParameters) constructor by using the HwndSourceParameters.RestoreFocusMode property.

.NET Framework
Available since 4.0
Return to top
Show: