Calling Property Methods from the e.PropertyName property

Posted by user275561 on Stack Overflow See other posts from Stack Overflow or by user275561
Published on 2010-03-22T19:39:47Z Indexed on 2010/03/22 19:41 UTC
Read the original article Hit count: 314

Filed under:
|
|
       void TheSettings_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
   {
        var settings = IsolatedStorageSettings.ApplicationSettings[StorageSettings] as Dictionary<string, string>;
        settings[e.PropertyName]= //call the method that has the same property name to get what the value is


        LoadData();

   }

Here is What I am trying to do. This is for a Windows Phone 7 series App. I am trying to determine what values got changed when the user changes the settings on the settings page and just save that.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET