Questions tagged [updatesourcetrigger]

79 questions
0
votes
1 answer

WPF ListView Binding with UpdateSourceTrigger set to explicit strange behaviour

I have a ListView with different DataTemplates set up to bind. I want to update some of the columns (mix of textblock and progress bar) when I call UpdateSource() on a bindingexpression. I also want to update 1 of the columns when the property is…
JFoulkes
0
votes
2 answers

MultipleBinding for a WPF Converter... when does ConvertBack get called?

I have a ComboBox with a set of values. The selected value is determined by a Converter with a multiple two-way binding. When the user changes the value in the ComboBox, I expected the ConvertBack method to get called and change the values of the…
jpaull
  • 278
  • 1
  • 6
  • 17
0
votes
2 answers

How to implement DependencyProperty in UserControl that update source on LostFocus?

I was on to implement a UserControl called PhoneBox that contains a single TextBox, some custom logic, and has a DependencyProperty called PhoneNo. It was to be used in in a two-way binding scenario with a LostFocus for UpdateSourceTrigger. So I…
atiyar
  • 7,762
  • 6
  • 34
  • 75
0
votes
1 answer

TextBlock with databinding calculated value is not updating

I have a textblock that is binding to a double property called "AdminTime" in my JobItem class. AdminTime calculates the total admin hours that are in an observablecollection called TimeLog. I use a textbox to add these admin hours into the…
1 2 3 4 5
6