- christyjquinn
- Posts: 17
- Joined:
Use OnPropertyChanged to indicate all props of a view model have changed
Hello,
Just wanted some clarification on an assumption I've made around "OnPropertyChanged". I can see in the WPF docs that if you pass an empty string to "OnPropertyChanged" it should indicate that all properties have changed - https://docs.microsoft.com/en-us/dotnet ... .0#remarks. Is that the case within Noesis and if not is it possible to do this from a view model?
Thanks!
Just wanted some clarification on an assumption I've made around "OnPropertyChanged". I can see in the WPF docs that if you pass an empty string to "OnPropertyChanged" it should indicate that all properties have changed - https://docs.microsoft.com/en-us/dotnet ... .0#remarks. Is that the case within Noesis and if not is it possible to do this from a view model?
Thanks!
- christyjquinn
- Posts: 17
- Joined:
Re: Use OnProprtyChanged to indicate all props of a view model have changed
Just took a look at "BindingExpression::OnNotifyPropertyChanged" and it looks like it doesn't work this way. Would still be good to get confirmation though!
-
sfernandez
Site Admin
- Posts: 2995
- Joined:
Re: Use OnPropertyChanged to indicate all props of a view model have changed
Hi,
This is something we don't have implemented in Noesis, but we should because it could have performance benefits in some situations, as with a single notification all the bindings to the object will be updated. Could you please report it in our bugtracker, we want to support this.
Thanks.
This is something we don't have implemented in Noesis, but we should because it could have performance benefits in some situations, as with a single notification all the bindings to the object will be updated. Could you please report it in our bugtracker, we want to support this.
Thanks.
-
sfernandez
Site Admin
- Posts: 2995
- Joined:
Re: Use OnPropertyChanged to indicate all props of a view model have changed
Added the following issue #2432 to the bugtracker to implement this.
- christyjquinn
- Posts: 17
- Joined:
Who is online
Users browsing this forum: No registered users and 14 guests