Tech Off Post

Single Post Permalink

View Thread: Silverlight 4 : ItemSource vs DataContext
  • User profile image

    turrican said:
    vesuvius said:

    How exactly will Model View ViewModel help me? Not sure I get what you mean here.

    You typically databind to the viewmodel (the datacontext for the window/page/pagefunction, and expose properties that are then bound to the controls like the listbox. The listbox finds the properies you expose in the view model using attached properties/routed events.