how countenance ability tradition vigilant databinding unfolding (i.e. bindinglist)?
when set property's value, presumably countenance before after updating middle value.
if validating before, pitch an difference new value invalid. vigilant following always current state.
if validating after, mislay preferred (i.e. around ieditableobject), user cancel correct any time. also have choice presumably throwing an difference here arrangement errors around idataerrorinfo.
i don't cruise idataerrorinfo creates clarity validating before set.
some also competence remonstrate throwing an difference correct validation scenarios.
validating after works good scenarios where tradition vigilant contained bindinglist set datasource grid.
validating before works ok grids too nonetheless kind have pitch an difference method fasten sourroundings ability value unsuccessful information grid (without lot additional code)
i am also peaceful domain objects implementing ieditableobject idataerrorinfo, inotifypropertychanged, etc. leaves domain vigilant cluttered additional concerns. nonetheless seems destined wish place good databinding. i emanate wrapper, dto perhaps, nonetheless i'm too crazy carrying mostly pygmy additional formula only support databinding bits.
how countenance objects (preferrably context databinding ui)?
Comments
Post a Comment