Class FormsSurface
Represent a control/widget on a WindowSystem.
Implements
Inherited Members
Namespace: Evergine.Forms
Assembly: Evergine.Forms.dll
Syntax
public class FormsSurface : Surface, IDisposable
Constructors
FormsSurface(uint, uint)
Initializes a new instance of the FormsSurface class.
Declaration
public FormsSurface(uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
uint | width | Surface width. |
uint | height | Surface height. |
Properties
KeyboardDispatcher
Gets the keyboard events dispatcher associated to this surface.
Declaration
public override KeyboardDispatcher KeyboardDispatcher { get; }
Property Value
Type | Description |
---|---|
KeyboardDispatcher |
Overrides
MouseDispatcher
Gets the mouse events dispatcher associated to this surface.
Declaration
public override MouseDispatcher MouseDispatcher { get; }
Property Value
Type | Description |
---|---|
MouseDispatcher |
Overrides
NativeControl
Gets surface native control.
Declaration
public EvergineControl NativeControl { get; }
Property Value
Type | Description |
---|---|
EvergineControl |
TouchDispatcher
Gets the touch events dispatcher associated to this surface.
Declaration
public override PointerDispatcher TouchDispatcher { get; }
Property Value
Type | Description |
---|---|
PointerDispatcher |
Overrides
Methods
Destroy()
Remove managed resources.
Declaration
protected override void Destroy()