Struct AnyWnd
Used for parameters of functions that need a window handle as wnd but also accept a WPF window/element, winforms form/control and IntPtr.
public struct AnyWnd
Remarks
Has implicit conversions from:
- System.Windows.DependencyObject - WPF window or element.
- System.Windows.Forms.Control -
Formor control. IntPtrornint- window handle.
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 |
| implicit operator AnyWnd(DependencyObject) | Assignment of a value of type |
| implicit operator AnyWnd(Control) | Assignment of a value of type System.Windows.Forms.Control ( |