<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx</link><description>It's been a while since my last post, so I figured I'd write something I just recently had to work on: user settings. In many client applications, you quickly run into the need to store application or user settings. There are a few options on how to do</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10360089</link><pubDate>Tue, 16 Oct 2012 18:10:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10360089</guid><dc:creator>RMittelman</dc:creator><description>&lt;p&gt;Great article. &amp;nbsp;Unfortunately, I can&amp;#39;t get it to work for me. I&amp;#39;m a total WPF newbie.&lt;/p&gt;
&lt;p&gt;This entry generates an error stating that the uri refers to a namespace that is not included in the assembly.&lt;/p&gt;
&lt;p&gt; xmlns:properties=&amp;quot;clr-namespace:SampleApp.Properties&amp;quot;&lt;/p&gt;
&lt;p&gt;Of course I replace &amp;quot;SampleApp&amp;quot; in the entry above with my assembly name. &amp;nbsp;I can&amp;#39;t figure out how to include a &amp;quot;Properties&amp;quot; namespace.&lt;/p&gt;
&lt;p&gt;Then of course, this entry generates an error stating that the type &amp;#39;properties:Settings&amp;#39; was not found.&lt;/p&gt;
&lt;p&gt; &amp;lt;properties:Settings x:Key=&amp;quot;Settings&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;So what am I doing wrong? &amp;nbsp;Is there an easy way to add a namespace?&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10360089" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10283556</link><pubDate>Thu, 15 Mar 2012 09:40:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10283556</guid><dc:creator>Xennan</dc:creator><description>&lt;p&gt;Actually you can access the current property value in code by using the strongly typed:&lt;/p&gt;
&lt;p&gt;Properties.Settings.Default.Username&lt;/p&gt;
&lt;p&gt;instead of: Properties.Settings.Default[“Username”]&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10283556" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10261676</link><pubDate>Mon, 30 Jan 2012 09:03:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10261676</guid><dc:creator>Mahesh</dc:creator><description>&lt;p&gt;I want to update values of user settings while setup (installation). I am using Visual Studio Installer MSI installer. I did following but value not updated.&lt;/p&gt;
&lt;p&gt;Properties.Settings.Default[“Setting1”] = &amp;quot;Modified Value&amp;quot;;&lt;/p&gt;
&lt;p&gt;Properties.Settings.Default.Save();&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10261676" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10198965</link><pubDate>Tue, 23 Aug 2011 11:52:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198965</guid><dc:creator>rohith</dc:creator><description>&lt;p&gt;hi, i have already started doing the wpf application, but now im facing the problem that for different resolutions my application is not visible properly and some of part of the applications r getting cropped,,,, i have used the grid control to place the buttons, but for other resolutions the buttons r getting displaced, so pls any help me out how to resolve it,,,,,,,,,,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198965" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10192000</link><pubDate>Tue, 02 Aug 2011 12:15:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10192000</guid><dc:creator>www.animaonline.com</dc:creator><description>&lt;p&gt;Subscribe to the SettingsChanging event ( Properties.Settings.Default.SettingChanging += new System.Configuration.SettingChangingEventHandler(Default_SettingChanging);)&lt;/p&gt;
&lt;p&gt;then call .Save() on the settings, should make the life easier :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10192000" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10119819</link><pubDate>Tue, 25 Jan 2011 09:18:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10119819</guid><dc:creator>Patrick Danino [Microsoft]</dc:creator><description>&lt;p&gt;Amit, what is it you&amp;#39;d like to see clarified?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10119819" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10118984</link><pubDate>Sat, 22 Jan 2011 11:11:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10118984</guid><dc:creator>Amit</dc:creator><description>&lt;p&gt;Can you be more Specific&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10118984" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#10015414</link><pubDate>Wed, 26 May 2010 07:47:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10015414</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Great article, thanks. but i think something wrong with the text color... fix your css please, its next to impossible to read :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10015414" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#9979387</link><pubDate>Tue, 16 Mar 2010 10:50:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9979387</guid><dc:creator>Gary Howlett</dc:creator><description>&lt;p&gt;How can you make it the binding conditional such as if the form had a &amp;quot;remember me&amp;quot; check box?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9979387" width="1" height="1"&gt;</description></item><item><title>re: User Settings in WPF</title><link>http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx#9977274</link><pubDate>Fri, 12 Mar 2010 02:06:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9977274</guid><dc:creator>Stomp</dc:creator><description>&lt;p&gt;Thanks very much for the info and the links!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9977274" width="1" height="1"&gt;</description></item></channel></rss>