dotnet / dotnet/wpf

Add a runtime switch option to disable ValueChangedEventManager

Open
#10,148 4 comments 0 reactions 0 assignees View on GitHub
Untriaged
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

When binding to objects which do not implement `INotifyPropertyChanged` interface, the underlying data binding engine will use an obscure mechanism to try and listen to changes in any .NET object - ValueChangedEventManager.

Please, add a switch which disables this functionality. All WPF developers know that if we want change notifications, we should implement `INotifyPropertyChanged`.

This will improve the overwall WPF data binding performance, because there are a lot of cases where we need to databind to something (e.g. Length property of an array) which doesn't implement INotifyPropertyChanged.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.