views:

23

answers:

0

Hi

In my app, i data bind two text boxes to project settings.

<Page.Resources><p:Settings x:Key="Settings" /><Page.Resources/>

<TextBox Grid.Row="3" Name="textBox1"  Text ="{Binding Source={StaticResource Settings},  Path=Default.Number_Of_Versions, Mode=TwoWay}" Grid.Column="1" Height="30" />

In the textbox i see the number of versions which is set as 18 correctly during design time, at run time the number_of_versions is set as 5.(?). Any idea why i see this behaviour. I am not setting 5 anywhere in the code and the settings are in user scope.