Window SetWindowed Method Delta Engine Documentation

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

void SetWindowed()
Remarks

Tests: DeltaEngine.Tests.Core.WindowTests
Examples

1 unit tests call DeltaEngine.Core.Window.SetWindowed
[Test]
public void SwitchToFullscreenAndWindowedMode()
{
    Size sizeBeforeFullscreen = window.TotalPixelSize;
    window.SetFullscreen(new Size(1024, 768));
    window.SetWindowed();
    Assert.IsFalse(window.IsFullscreen);
    Assert.AreEqual(sizeBeforeFullscreen, window.TotalPixelSize);
}
See Also