Interface IScreenModel
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
CancelCommand
can be invoked to cancel a screen
IScreenCommand CancelCommand { get; set; }
Property Value
Commands
this collection may be modified to change the screen's set of commands
IReadOnlyList<IScreenCommand> Commands { get; set; }
Property Value
ConfirmCommand
can be invoked as the default action of a screen.
IScreenCommand ConfirmCommand { get; set; }
Property Value
HasTitleBar
If false, the title and commands will not be displayed.
bool HasTitleBar { get; set; }
Property Value
Icons
this collection may be modified to change the icons displayed next to the title
IReadOnlyList<IconModel> Icons { get; set; }
Property Value
RefreshCommand
can be invoked commands to reload a screen's data.
IScreenCommand RefreshCommand { get; set; }
Property Value
SaveCommand
can be invoked to store a screen's data.
IScreenCommand SaveCommand { get; set; }
Property Value
ScreenTitle
this property may be set or modified to change the screen's title
string ScreenTitle { get; set; }
Property Value
Surface
set by constructor- every screenmodel must be 'located on' a shell-defined IScreen
ISurface Surface { get; }
Property Value
Methods
GetBlockingChangesAsync()
Task<IEnumerable<Change>> GetBlockingChangesAsync()