Class FormsWindow
Represent a Window Forms implementation on WindowSystem.
Implements
Inherited Members
Namespace: Evergine.Forms
Assembly: Evergine.Forms.dll
Syntax
public class FormsWindow : Window, IDisposable
Constructors
FormsWindow(string, uint, uint, bool)
Initializes a new instance of the FormsWindow class. Create Forms Window.
Declaration
public FormsWindow(string title, uint width, uint height, bool visible)
Parameters
Type | Name | Description |
---|---|---|
string | title | Window title. |
uint | width | Window width. |
uint | height | Window height. |
bool | visible | Window visibility. |
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
NativeWindow
Gets or sets forms Window instance.
Declaration
public EvergineForm NativeWindow { get; protected set; }
Property Value
Type | Description |
---|---|
EvergineForm |
Title
Gets or sets window title.
Declaration
public override string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
TouchDispatcher
Gets the touch events dispatcher associated to this surface.
Declaration
public override PointerDispatcher TouchDispatcher { get; }
Property Value
Type | Description |
---|---|
PointerDispatcher |
Overrides
Visible
Gets or sets a value indicating whether the window is visible.
Declaration
public override bool Visible { get; set; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Methods
Destroy()
Remove managed resources.
Declaration
protected override void Destroy()