Class WinUISurface
Represent a control on a WinUI application.
Inherited Members
Namespace: Evergine.WinUI
Assembly: Evergine.WinUI.dll
Syntax
public class WinUISurface : Surface
Constructors
WinUISurface()
Initializes a new instance of the WinUISurface class.
Declaration
public WinUISurface()
WinUISurface(SwapChainPanel)
Initializes a new instance of the WinUISurface class.
Declaration
public WinUISurface(SwapChainPanel swapChainPanel)
Parameters
Type | Name | Description |
---|---|---|
SwapChainPanel | swapChainPanel | The swap chain panel. |
Fields
NativeSurface
The native surface.
Declaration
public readonly WinUISwapChainPanelTarget NativeSurface
Field Value
Type | Description |
---|---|
WinUISwapChainPanelTarget |
SwapChainPanel
The swap chain panel.
Declaration
public readonly SwapChainPanel SwapChainPanel
Field Value
Type | Description |
---|---|
SwapChainPanel |
Properties
KeyboardDispatcher
Gets the keyboard event dispatcher associated with this surface.
Declaration
public override KeyboardDispatcher KeyboardDispatcher { get; }
Property Value
Type | Description |
---|---|
KeyboardDispatcher |
Overrides
LoadAction
Sets the load action.
Declaration
public Action LoadAction { set; }
Property Value
Type | Description |
---|---|
Action |
MouseDispatcher
Gets the mouse event dispatcher associated with this surface.
Declaration
public override MouseDispatcher MouseDispatcher { get; }
Property Value
Type | Description |
---|---|
MouseDispatcher |
Overrides
RenderCallback
Sets the render callback.
Declaration
public Action RenderCallback { set; }
Property Value
Type | Description |
---|---|
Action |
TouchDispatcher
Gets the touch events dispatcher associated with this surface.
Declaration
public override PointerDispatcher TouchDispatcher { get; }
Property Value
Type | Description |
---|---|
PointerDispatcher |
Overrides
Methods
Destroy()
Removes managed resources.
Declaration
protected override void Destroy()