<TextBox Name="CustomerName" Height="30" Margin="5"
Text="{Binding Source={StaticResource MyCustomerData},
Path=CustomerName, Mode=TwoWay}" Grid.Row="0" Grid.Column="1" />
Above is my xaml snippet
MuCustomerData is my class which implements INotifyPropertyChanged interface and it has a property CustomerName which shall notify about the changes using PropertyChanged event to the View (UI)
Here I bind my class(MyCustomerData) as StaticResource and binding mode as TwoWay. Will this actually work two way? or I should use my class as Dynamic Resource to make the binding work two way? Since only once a StaticResource would get loaded and any further changes will not be taken when it is staticresource .... your thoughts?? I just read this http://www.codeproject.com/Articles/393086/WPF-StaticResource-vs-DynamicResource ..Pls do take a look on this article ..