what can in case :
"i want when close app save (visible textblock)"
private isolatedstoragesettings appsettings = isolatedstoragesettings.applicationsettings; private void button_click(object sender, routedeventargs e) { appsettings["name"] = textblock.visibility; textblock.visibility = visibility.visible; } i use in windows phone 8.1 (silverlight)
in app.xaml.cs file need implement code in application_closing event retrieve visibility property page , save applicationsettings.
it's called tombstoning , documented part of windows phone application lifecycle.
Comments
Post a Comment