Class FieldModalController<T>
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
FieldModalController(IServices, IField<T>, bool)
public FieldModalController(IServices s, IField<T> f, bool isFieldTall)
Parameters
Methods
CreateModel(ISurface)
protected override FieldModalModel<T> CreateModel(ISurface s)
Parameters
sISurface
Returns
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()