Table of Contents

Interface IScreenModel

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll

A Screen is a window-level content unit, potentially containing multiple Sections.

public interface IScreenModel : IModel, INotifyPropertyChanged
Inherited Members
Extension Methods

Properties

AreCommandsEnabled

Indicates whether the screen's commands are enabled. Commands may still be disabled individually even if this returns true

bool AreCommandsEnabled { get; }

Property Value

bool

CancelCommand

can be invoked to cancel a screen

IScreenCommand CancelCommand { get; set; }

Property Value

IScreenCommand

Commands

this collection may be modified to change the screen's set of commands

IReadOnlyList<IScreenCommand> Commands { get; set; }

Property Value

IReadOnlyList<IScreenCommand>

ConfirmCommand

can be invoked as the default action of a screen.

IScreenCommand ConfirmCommand { get; set; }

Property Value

IScreenCommand

HasTitleBar

If false, the title and commands will not be displayed.

bool HasTitleBar { get; set; }

Property Value

bool

Icons

this collection may be modified to change the icons displayed next to the title

IReadOnlyList<IconModel> Icons { get; set; }

Property Value

IReadOnlyList<IconModel>

RefreshCommand

can be invoked commands to reload a screen's data.

IScreenCommand RefreshCommand { get; set; }

Property Value

IScreenCommand

SaveCommand

can be invoked to store a screen's data.

IScreenCommand SaveCommand { get; set; }

Property Value

IScreenCommand

ScreenTitle

this property may be set or modified to change the screen's title

string ScreenTitle { get; set; }

Property Value

string

Surface

set by constructor- every screenmodel must be 'located on' a shell-defined IScreen

ISurface Surface { get; }

Property Value

ISurface

Methods

GetBlockingChangesAsync()

Task<IEnumerable<Change>> GetBlockingChangesAsync()

Returns

Task<IEnumerable<Change>>