Struct AnyWnd
A window handle. Used for function parameters where the function needs a window handle as wnd but also allows to pass a variable of any of these types: System.Windows.DependencyObject (WPF window or control), System.Windows.Forms.Control (Form or control), IntPtr (window handle).
public struct AnyWnd
Namespace: Au.Types
Assembly: Au.dll
Properties
Name | Description |
---|---|
Hwnd | Gets the window or control handle as wnd. |
IsEmpty |
|
Operators
Name | Description |
---|---|
implicit operator AnyWnd(wnd) | Assignment of a value of type wnd. |
implicit operator AnyWnd(nint) | Assignment of a window handle as IntPtr. |
implicit operator AnyWnd(DependencyObject) | Assignment of a value of type System.Windows.DependencyObject (WPF window or control). |
implicit operator AnyWnd(Control) | Assignment of a value of type System.Windows.Forms.Control (Form or any control class). |