Auto validation of properties in Caliburn.Micro -


so i'm messing around bit caliburn.micro, , notice interesting.

i have viewmodel property called maximum of type int, auto bound cm via naming convention, textbox.

when enter not , integer, i.e. character, textbox' border turns red, , setter of property not called.

is auto-feature of cm?

no, behaviour of wpf. 1 option bind string property on view model, , perform validation within view model (i.e. parse int, , provide default value if parse fails).


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -