wpf - Formatting contents of a datagrid -
i have wpf datagrid (.net 4.0) contains raw data database, , of fields need formatted display in meaningful manner, example 3 fields containing year / month / day formatted produce formatted date field.
is there nice way of doing ?
separate view/xaml viewmodel, , keep formatting in viewmodel doesnt belong in view!
then can bind date field datagrid , not mess xaml or code-behind.
if framework keep design recommend looking @ mvvm light or caliburn.micro
Comments
Post a Comment