HwndSourceParameters.HwndSourceHook Property


Gets or sets the message hook for the window.

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

public HwndSourceHook HwndSourceHook { get; set; }

Property Value

Type: System.Windows.Interop.HwndSourceHook

The message hook for the window.

This message hook is enabled before CreateWindow is called so that it receives all the window creation messages.

.NET Framework
Available since 3.0
Return to top