2010-03-22 120 views
0
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(); 
} 

以下是我正在尝试执行的操作。这是针对Windows Phone 7系列应用程序的。我试图确定当用户更改设置页面上的设置并保存时,哪些值发生了更改。从e.PropertyName属性调用属性方法

回答