HwndSource::AcquireHwndFocusInMenuMode 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 value that determines whether to acquire Win32 focus for the WPF containing window for this HwndSource.

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

public:
property bool AcquireHwndFocusInMenuMode {
	bool get();
}

Property Value

Type: System::Boolean

true to acquire Win32 focus for the WPF containing window when the user interacts with menus; otherwise, false.

This value is set when you create the HwndSource by setting the AcquireHwndFocusInMenuMode parameter.

The default value is determined by the DefaultAcquireHwndFocusInMenuMode property.

.NET Framework
Available since 4.0
Return to top
Show: