WPF, C#, Objective C and a little Math

Archive for March, 2015

WPF Binding double to TextBox Text Property

Binding to double property of some object with UpdateSourceTrigger set to PropertyChanged allows dynamically update ViewModel while user enters the number. Application become more responsive and user friendly. Unfortuntely simple binding has frustrating editing behaviors – portion of the text are automatically erased in some cases (usually decimal separator and leading or trailing zeroes) – […]