Table of Contents

Class FieldModalController<T>

Namespace
The.WPF.Screens
Assembly
Instagile.WPF.dll
public sealed class FieldModalController<T> : SimpleModalControllerBase<FieldModalModel<T>, FieldModalView, T>, IModalController<T>

Type Parameters

T
Inheritance
FieldModalController<T>
Implements
Inherited Members

Constructors

FieldModalController(IServices, IField<T>)

public FieldModalController(IServices s, IField<T> f)

Parameters

s IServices
f IField<T>

FieldModalController(IServices, IField<T>, bool)

public FieldModalController(IServices s, IField<T> f, bool isFieldTall)

Parameters

s IServices
f IField<T>
isFieldTall bool

Methods

CreateModel(ISurface)

protected override FieldModalModel<T> CreateModel(ISurface s)

Parameters

s ISurface

Returns

FieldModalModel<T>

OnCompleted()

This handler is invoked after the modal completes which could be due to it completing with a result or due to it being cancelled. This method should only perform cleanup of event handlers and similar.

protected override void OnCompleted()

Remarks

See OnConfirmAsync() and OnConfirmAsync() for an appropriate place to put business logic that should run immediately before confirming this modal.

OnModelCreated()

protected override void OnModelCreated()