Tesla Graphics Engine Documentation (January 2012)
SWFWindowImplementation Class
TeslaTesla.Windows.CoreSWFWindowImplementation
Concrete System.Windows.Forms implementation of a Window. This implementation has the option to create a single form that can be run using an IWindowHost or a control that can be added to an existing windows forms application (such as an editor).
Declaration Syntax
C#
public sealed class SWFWindowImplementation : IWindowImplementation, 
	IDisposable
Members
All Members Constructors Methods Properties Events



Icon Member Description
SWFWindowImplementation(PresentationParameters, Boolean)
Initializes a new instance of the SWFWindowImplementation class.

SWFWindowImplementation(PresentationParameters, String, Boolean)
Initializes a new instance of the SWFWindowImplementation class.

Activated
Event for when the window is the primary window and has been activated.

AllowUserResizing
Gets or sets if the user should be able to change the size of the window (e.g. drag the borders with the mouse).

ClientBounds
Gets the client bounds of the window.

ClientSizeChanged
Event for when the window's client area is changed (e.g. during resize)

Deacativated
Event for when the window is the primary window and has been deactivated.

Dispose()()()()
Disposes of the window.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 window.

IsDisposed
Gets if the window has been disposed.

IsFullScreen
Gets or sets if the window should be full screen. This toggles the effect.

IsMinimized
Gets if the window is minimized.

IsMouseVisible
Gets or sets if the mouse should be visible.

IsPrimaryWindow
Gets if the window is primary. A primary window is defined to be a window that can be run by a window host, e.g. a Form.

OrientationChanged
Event for when the window's orientation changed.

RenderControl
Gets the underlying control that the window renders to.

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 or sets the swap chain owned by the window.

Title
Gets or sets the window's title.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
SWFWindowImplementation

Assembly: Tesla.Windows (Module: Tesla.Windows) Version: 0.5.0.0 (0.5.0.0)