A window is the part of the screen that a scene is rendered to. It is abstracted enough where a window can exist as a primary window (e.g.
the main application window) or a secondary control that is added to another GUI application (e.g. an editor). Every window
owns a swap chain that describes the back buffer.
Declaration Syntax
C# |
public class Window : IDisposable
Members
All Members | Constructors | Methods | Properties | Events | |
|
|
|
Icon | Member | Description |
---|---|---|
Window(PresentationParameters) |
Creates a new window.
|
|
Window(PresentationParameters, Boolean) |
Creates a new window.
|
|
Activated |
Event for when the window is the primary window and has been activated.
|
|
AllowUserResizing |
Gets or sets if the user is allowed to change the size of the window.
|
|
ClientBounds |
Gets the client bounds of the window.
|
|
ClientSizeChanged |
Adds or removes the event handler for when the window is resized.
|
|
Deacativated |
Event for when the window is the primary window and has been deactivated.
|
|
Dispose()()()() |
Dispose of the window.
|
|
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
|
|
Equals(Object) |
(Inherited from Object.) |
|
Finalize()()()() |
Releases unmanaged resources and performs other cleanup operations before the
Window is reclaimed by garbage collection.
(Overrides Object.Finalize()()()().) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Handle |
Gets the handle to the underlying native window.
|
|
Implementation |
Gets the underlying window implementation.
|
|
IsDisposed |
Gets if the window is disposed.
|
|
IsFullScreen |
Gets or sets if the window should be full screen. If the state changes, then the effect is toggled.
|
|
IsMinimized |
Gets if the window is minimized.
|
|
IsMouseVisible |
Gets or sets if the mouse should be visible inside the window.
|
|
IsPrimaryWindow |
Gets if the window is primary. Primary windows are top-level, e.g. a Form. Only primary windows can be used
with a window host to run the application.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OrientationChanged |
Adds or removes the event handler for when the window's orientation changes.
|
|
Resize(Int32, Int32) |
Resizes the client area of the window using the specified parameters.
|
|
Resume |
Event for when the window is the primary window and has been resumed.
|
|
Suspend |
Event for when the window is the primary window and has been suspended.
|
|
SwapChain |
Gets the swap chain owned by the window.
|
|
Title |
Gets or sets the window's title.
|
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
Window |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)