Class WPFWindow
Represent a WPF Window on WindowSystem.
Implements
Inherited Members
Namespace: Evergine.WPF
Assembly: Evergine.WPF.dll
Syntax
public class WPFWindow : Window, IDisposable
Constructors
WPFWindow(string, uint, uint, bool)
Initializes a new instance of the WPFWindow class.
Declaration
public WPFWindow(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 WPF Window instance.
Declaration
public Window NativeWindow { get; protected set; }
Property Value
Type | Description |
---|---|
Window |
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()