MockWindow ClassDelta Engine Documentation
Mock a window for unit tests. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Mocks MockWindow

Namespace: DeltaEngine.Mocks
Assembly: DeltaEngine.Mocks (in DeltaEngine.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class MockWindow : Window, IDisposable

The MockWindow type exposes the following members.

Constructors

  NameDescription
Public methodMockWindow
Initializes a new instance of the MockWindow class
Top
Methods

  NameDescription
Public methodCloseAfterFrame
Public methodCopyTextToClipboard
Public methodDispose
Releases all resources used by the MockWindow
Public methodPresent
Public methodSetCursorIcon
Public methodSetFullscreen
Public methodSetWindowed
Public methodShowMessageBox
Top
Properties

  NameDescription
Public propertyBackgroundColor
Public propertyHandle
Public propertyIsClosing
Public propertyIsFullscreen
Public propertyIsVisible
Public propertyIsWindowsFormAndNotJustAPanel
Public propertyOrientation
Public propertyPixelPosition
Public propertyShowCursor
Public propertyTitle
Public propertyTotalPixelSize
Public propertyViewportPixelPosition
Public propertyViewportPixelSize
Top
Events

  NameDescription
Public eventFullscreenChanged
Public eventOrientationChanged
Public eventViewportSizeChanged
Top
See Also