Table of Contents

Class Monoscreen

Namespace
The.WPF.Shell.SWI
Assembly
Instagile.WPF.dll

Monoscreen

public class Monoscreen : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ISurface, IComponentConnector
Inheritance
Monoscreen
Implements
Inherited Members
Extension Methods

Constructors

Monoscreen(IServices, IPrincipal)

public Monoscreen(IServices services, IPrincipal principal)

Parameters

services IServices
principal IPrincipal

Properties

ContentContainer

public UIElement ContentContainer { get; }

Property Value

UIElement

CurrentModalContent

public IScreenModel CurrentModalContent { get; }

Property Value

IScreenModel

Principal

public IPrincipal Principal { get; }

Property Value

IPrincipal

Services

public IServices Services { get; set; }

Property Value

IServices

Window

public Window Window { get; }

Property Value

Window

Methods

ClearNotifications()

public void ClearNotifications()

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnClosed(EventArgs)

Raises the Closed event.

protected override void OnClosed(EventArgs e)

Parameters

e EventArgs

An EventArgs that contains the event data.

PopModalContent()

End display of the most recent modal subscreen

public void PopModalContent()

PushModalContent(IScreenModel)

Display a subscreen modally - this method should not block

public void PushModalContent(IScreenModel model)

Parameters

model IScreenModel

SetContent(IScreenModel)

Set or replace the content

public void SetContent(IScreenModel model)

Parameters

model IScreenModel

ShowNotification(string, MessageLevel, string, TimeSpan?)

Display an event notification non-modally

public void ShowNotification(string notification, MessageLevel severity, string details = null, TimeSpan? timeout = null)

Parameters

notification string
severity MessageLevel
details string
timeout TimeSpan?

Events

ContentChanging

Should be triggered when a surface's content is about to be changed

public event Action ContentChanging

Event Type

Action

ScreenDisposed

Should be triggered when a surface is no longer present in the UI

public event Action ScreenDisposed

Event Type

Action