Class WindowHandle
Encapsulates a platform-specific window handle.
public class WindowHandle
- Inheritance
-
objectWindowHandle
- Extension Methods
Constructors
WindowHandle(AppContextType, object, nint)
Encapsulates a platform-specific window handle.
public WindowHandle(AppContextType context, object nativeWindow, nint handle)
Parameters
contextAppContextTypeThe context type, indicating the platform and UI framework.
nativeWindowobjectThe native window instance (e.g. a Windows Forms'
Form, a SDL'sSDLWindow, etc.).handlenintThe associated handle of
nativeWindow.
Fields
Context
The context type, indicating the platform and graphics API.
public readonly AppContextType Context
Field Value
Properties
Handle
Gets the associated platform-specific handle of NativeWindow.
public nint Handle { get; }
Property Value
NativeWindow
Gets the native window as an opaque object.
public object NativeWindow { get; }
Property Value
- object