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

The Archive Base Latest Questions

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

Silverlight/WP7: I have a list of objects that I have deserialized from a JSON

  • 0

Silverlight/WP7:

I have a list of objects that I have deserialized from a JSON query. This list will be bound to a ListBox in XAML. However, I want to edit one of the strings that is returned before it gets bound to the UI. I did some searching and I came across this solution, however I am not very clear on the solution proposed:

string _value;
public string Value { get { return _value; } set { _value = value; NotifyPropertyChanged("Value"); NotifyPropertyChanged("ValueFormatted"); } }
public string ValueFormatted { get { return "Static Text: " + _value; } }

What is NotifyPropertyChanged? I am fairly new to Silverlight/C# and I only see the INotifyPropertyChanged interface. How do I implement this solution?

  • 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:50:22+00:00Added an answer on May 20, 2026 at 2:50 pm

    The problem you are trying to solve does not actually require the INotifyPropertyChanged interface. It will work fine if you remove the NotifyPropertyChanged methods and INotifyPropertyChanged interface then bind to the ValueFormatted Property.

    However implementing INotifyPropertyChanged on classes being bound to the UI is generally a pretty good idea:

    “INotifyPropertyChanged interface is used to notify that a property has been changed and thus to force the bound objects to take the new value.”

    This basically means if you change properties of objects after they have been bound the values will be reflected in your UI.

    The Silverlight show gives a nice simple example of INotifyPropertyChanged

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

Sidebar

Related Questions

I have a WP7 app (Silverlight) that has a page with a textbox that
I have seen this post: Display GIF in a WP7 application with Silverlight But
i am working with the AutoCompleteBox from the WP7 Silverlight Toolkit. i have seen
I writing wp7 silverlight app. I have a listbox with items. I want each
hi i have a question about the silverlight/xna template for wp7 programming. i start
I am new to WP7 programming and I have been following this tutorial http://weblogs.asp.net/scottgu/archive/2010/03/18/building-a-windows-phone-7-twitter-application-using-silverlight.aspx
I have a combobox that is populated at runtime with values from a loadoperation
I am new to both Silverlight and WP7. I have been attempting to hotlink
I'm getting started with WP7 / silverlight and I'm realizing that I want to
I'm trying to work with the LongListSelector control from the WP7 Silverlight Toolkit. It's

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.