It is very easy to link user or application settings to a .settings file in WPF.
Here is an example of a window that gets its position and size from the settings:
<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:settings="clr-namespace:WpfApplication1.Properties" Height="{Binding Height, Source={x:Static settings:Settings.Default}, Mode=TwoWay}" Width="{Binding Width, Source={x:Static settings:Settings.Default}, Mode=TwoWay}" Top="{Binding Top, Source={x:Static settings:Settings.Default}, Mode=TwoWay}" Left="{Binding Left, Source={x:Static settings:Settings.Default}, Mode=TwoWay}"> <Grid> </Grid> </Window>
The settings are as follows:

And to persist, I just use the following code:
void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Properties.Settings.Default.Save(); }
madd0 source share