Class Win32Properties
Set of Win32 specific properties and events that allow deeper customization of the application per platform.
public static class Win32Properties
- Inheritance
-
Win32Properties
- Inherited Members
Fields
NonClientHitTestResultProperty
public static readonly AttachedProperty<Win32Properties.Win32HitTestValue> NonClientHitTestResultProperty
Field Value
Methods
AddWindowStylesCallback(TopLevel, CustomWindowStylesCallback?)
Adds a callback to set the window's style.
public static void AddWindowStylesCallback(TopLevel topLevel, Win32Properties.CustomWindowStylesCallback? callback)
Parameters
topLevel
TopLevelThe window implementation
callback
Win32Properties.CustomWindowStylesCallbackThe callback
AddWndProcHookCallback(TopLevel, CustomWndProcHookCallback?)
Adds a custom callback for the window's WndProc
public static void AddWndProcHookCallback(TopLevel topLevel, Win32Properties.CustomWndProcHookCallback? callback)
Parameters
topLevel
TopLevelThe window
callback
Win32Properties.CustomWndProcHookCallbackThe callback
GetNonClientHitTestResult(Visual)
public static Win32Properties.Win32HitTestValue GetNonClientHitTestResult(Visual obj)
Parameters
obj
Visual
Returns
RemoveWindowStylesCallback(TopLevel, CustomWindowStylesCallback?)
Removes a callback to set the window's style.
public static void RemoveWindowStylesCallback(TopLevel topLevel, Win32Properties.CustomWindowStylesCallback? callback)
Parameters
topLevel
TopLevelThe window implementation
callback
Win32Properties.CustomWindowStylesCallbackThe callback
RemoveWndProcHookCallback(TopLevel, CustomWndProcHookCallback?)
Removes a custom callback for the window's WndProc
public static void RemoveWndProcHookCallback(TopLevel topLevel, Win32Properties.CustomWndProcHookCallback? callback)
Parameters
topLevel
TopLevelThe window
callback
Win32Properties.CustomWndProcHookCallbackThe callback
SetNonClientHitTestResult(Visual, Win32HitTestValue)
public static void SetNonClientHitTestResult(Visual obj, Win32Properties.Win32HitTestValue value)
Parameters
obj
Visualvalue
Win32Properties.Win32HitTestValue