Skip to main content

AddWndProcHookCallback Method

Adds a custom callback for the window's WndProc

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static void AddWndProcHookCallback(
TopLevel topLevel,
Win32Properties.CustomWndProcHookCallback? callback
)

Parameters​

  TopLevel
The window
  Win32Properties.CustomWndProcHookCallback
The callback

See Also​

Reference​

Win32Properties Class
Avalonia.Controls Namespace