Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4051622
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:13:04+00:00 2026-05-20T14:13:04+00:00

I have a silverlight wp7 application and I’m applying the MVVM pattern. The model

  • 0

I have a silverlight wp7 application and I’m applying the MVVM pattern. The model contains a list of classes (the class type encapsulates stock ticker data), and that list is used in a View, along with an Item template.

My understanding is that in order for that List to work with Binding, it needs to be an observable collection (raising the PropertyChanged event doesnt seem to do anything).

As such, how do I maintain a decoupling between my model which should be agnostic to the presentation, and the view that requires an observable collection?

Currently, in my View-Model, I dynamically create an observable collection using the data in the model.List. This seems like a kludge.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:13:04+00:00Added an answer on May 20, 2026 at 2:13 pm

    There are only two ways you can go about this:

    1. Have the Model expose an ObservableCollection itself. This means that you will not need any kludge in your ViewModel, but you might say that this is simply moving the problem elsewhere.

    2. Have the ViewModel expose an ObservableCollection it creates itself, like you do now. If the collection can be updated (which does not look like the case in your scenario), the ViewModel will also need to “take ownership” of the Model and propagate the changes back to the List.

    I don’t believe that what you do is a kludge. The Model is definitely totally decoupled from the presentation (View), as it’s the ViewModel that needs to go to all the trouble to make things work. This is totally in the spirit of MVVM.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application in WP7 silverlight that needs to be launched after a
I have seen this post: Display GIF in a WP7 application with Silverlight But
i'm building a wp7 application for a game using silverlight & XNA i have
I have Silverlight Application. Getting started with Linq I find out I have to
I have a Silverlight project that uses MVVM with Prism. I followed http://www.telerik.com/help/silverlight/patterns-and-practices-eventtocommand-prism.html I
I have a Silverlight application communicating with the server side through WCF services. Initially
I have a Silverlight DataGrid that contains a single template column which displays a
I have been working fine with MVVM Light on a silverlight 4 Windows Phone
I have a WP7 app (Silverlight) that has a page with a textbox that
I have silverlight 2.0 application and which uses WCF service to get data and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.