Table of Contents

Interface IScreenController

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll
public interface IScreenController

Properties

IsActive

True if the screen is currently present on a surface

bool IsActive { get; }

Property Value

bool

Methods

Deactivate()

Deactivates the screen, removing it from any surface

void Deactivate()

Display(string, bool)

Activates the screen in a new surface

void Display(string title = null, bool foreground = true)

Parameters

title string
foreground bool

Pin()

Activates the screen as an always-present main surface.

void Pin()

Replace(ISurface)

Activates the screen as the main content of an existing surface

void Replace(ISurface surface)

Parameters

surface ISurface