A viewmodel's role beyond databinding?

Posted by DeanMc on Stack Overflow See other posts from Stack Overflow or by DeanMc
Published on 2010-06-10T21:12:32Z Indexed on 2010/06/10 21:22 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

I'm a bit confused as to what a viewmodel's role is beyond databinding. I have a menu built in silverlight. The menu has x number of menu items which is determined at runtime. One of the features I would like to add to this is that each menuitem has a different text colour when hovered over.

Is it the role of the view to have a colour selector method or should the view handle this in it's code behind?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET