This project is read-only.
1

Closed

Sub-type of IViewModel that could be in View or Edit mode

description

At present, to obtain a view model in edit mode you must implement IViewModelEdit. This design was aimed specifically at generating input forms.

There is possible case for having view models that could be switchable between view and edit modes, perhaps as a new interface e.g. IViewModelEditable or IViewModelModal

but we would also then need the ability to specify, programmatically, whether it opened up in View mode or Edit mode. This could be defined as a boolean property/function on the new interface.
Closed Mar 21, 2014 at 4:30 PM by RichardPawson

comments

RichardPawson wrote Jan 15, 2014 at 10:56 AM

Implemented as IViewModelSwitchable

RichardPawson wrote Feb 14, 2014 at 3:38 PM

documented