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 6880149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:56:15+00:00 2026-05-27T04:56:15+00:00

Real quick on observable collections. I’ve been playing around with these in Silverlight doing

  • 0

Real quick on observable collections. I’ve been playing around with these in Silverlight doing some binding stuff, what have ya. Seems like the CollectionChanged event fires when removing from or adding to the collection. I’d like for something to fire when I change a property on one of the classes inside the collection. The collection property itself already has the RaisePropertyChanged. Do I need to do something special to the type class itself? So if I have this:

ObservabelCollection<Person> personcollection... and if I change a property like:

Person p = personcollection.where(e => e.FirstName == "Joey").FirstOrDefault();
if (p != null) { p.FirstName = "Joe"; }

I would expect something to happen in the UI but nothing changes.

Any help would be greatly appreciated.

David

  • 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-27T04:56:15+00:00Added an answer on May 27, 2026 at 4:56 am

    I see what you’re trying to do but if im correct Observable Collection only raises the INotifyCollectionChanged event when items in it’s collection changes. This will trigger changes in the UI.

    It doesn’t care if a property on one of it’s objects in it’s collection changes. You would need to implement the INotifyPropertyChanged Interface on the properties on these objects to trigger a change to the UI.

    I had a read of here which gave me some useful insight. Though it is aimed for WPF most of it still applies as Silverlight is essentially a subset of WPF.

    As well as this MSDN article which states:

     In particular, if you are using OneWay or TwoWay (for example, 
     you want your UI to update when the source properties change dynamically), 
     you must implement a suitable property changed notification mechanism 
     such as the INotifyPropertyChanged interface.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing some real quick and dirty benchmarking on a single line of C#
Real UID, effective UID, and some systems even have a saved UID. What's the
Hey guys really quick question, I have a simple test that I was doing
Alright, here's a quick explanation of what I am doing: I have a website
All right real quick question guys. I know that C# Forms have the OnPaint()
Real quick background : We have a PDFMaker (HTMLDoc) that converts html into a
Let me setup the problem real quick. I have a library serial that depends
I'll explain what I'm trying to do real quick. I have a page where
I'd like to build a real quick and dirty administrative backend for a Ruby
I want to develop Java apps, real quick, what IDE should I choose?

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.