DeviceTests SetFullscreenModeToJustWindowWithoutDeviceAndShowRedBackground Method Delta Engine Documentation

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

public void SetFullscreenModeToJustWindowWithoutDeviceAndShowRedBackground()
Examples

[Test, ApproveFirstFrameScreenshot]
public void SetFullscreenModeToJustWindowWithoutDeviceAndShowRedBackground()
{
    var settings = Resolve<Settings>();
    settings.StartInFullscreen = true; // does not mean we really go fullscreen without device!
    Resolve<Window>().BackgroundColor = Color.Red;
    settings.StartInFullscreen = false;
}
See Also