C1.Silverlight.SpellChecker Namespace > UserDictionary Class : SaveToIsolatedStorage Method |
public Page() { InitializeComponent(); // load user dictionary UserDictionary ud = c1SpellChecker1.UserDictionary; ud.LoadFromIsolatedStorage("Custom.dct"); // save user dictionary when app exits App.Current.Exit += App_Exit; } void App_Exit(object sender, EventArgs e) { // save modified user dictionary UserDictionary ud = c1SpellChecker1.UserDictionary; ud.SaveToIsolatedStorage("Custom.dct"); }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2