In XAML is there a way to default the UpdateSourceTrigger to PropertyChanged?

In WPF, the UpdateSourceTrigger has diffeent default values for each control and their is no way of setting something that will control how all the elements set their UpdateSourceTrigger! You can definetely create a attached behavior that can go thru a page and change all the values?

Up vote 2 down vote favorite share g+ share fb share tw.

msdn.microsoft.com/en-us/library/system.... msdn.microsoft.com/en-us/library/system.... .net wpf silverlight data-binding xaml link|improve this question asked Sep 21 '10 at 23:56Simon4,68212347 90% accept rate.

1 UpdateSourceTrigger is the default for most properties. The only one with different default (that I know of) is Text property on TextBox. And in Silverlight you can't change default for SourceTrigger – Denis Sep 22 '10 at 3:09.

In WPF, the UpdateSourceTrigger has diffeent default values for each control and their is no way of setting something that will control how all the elements set their UpdateSourceTrigger! You can definetely create a attached behavior that can go thru a page and change all the values? This can then walk the visual tree and change the UpdateSourceTriggers!

In the end I went with this public class BindingEx:Binding { public BindingEx() { UpdateSourceTrigger = UpdateSourceTrigger. PropertyChanged; } }.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions