PropertyChange doesn't refresh DataTemplate inside ItemsControl
-
ObservableCollection is binded to ItemsControl and PropertyChange fired on CultureChangedEvent though the items in collection remains the same. This doesnot update the DataTemplate/ItemTemplate. I guess WPF ignores because no change made to the item collection. How do i force a refresh on DataTemplate? i had tried BindingExpression.UpdateTarget(). similar problem is addressed at this Link[^] but the recommended approach didn't work. any idea?
- Regards -
J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
-
ObservableCollection is binded to ItemsControl and PropertyChange fired on CultureChangedEvent though the items in collection remains the same. This doesnot update the DataTemplate/ItemTemplate. I guess WPF ignores because no change made to the item collection. How do i force a refresh on DataTemplate? i had tried BindingExpression.UpdateTarget(). similar problem is addressed at this Link[^] but the recommended approach didn't work. any idea?
- Regards -
J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
Have you tried raising a Reset notification on the collection?