Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the binding for ValidationError.ErrorContent to mode=OneTime… #3970

Merged
merged 1 commit into from
Nov 21, 2020
Merged

Conversation

lipchev
Copy link
Contributor

@lipchev lipchev commented Nov 19, 2020

Describe the changes you have made to improve this project

Updated the binding for the default validation error template (MahApps.Templates.ValidationError): the binding mode is set to OneTime, as the underlying object (System.Windows.Controls.ValidationError) does not implement INotifyPropertyChanged (avoid memory leak for CLR property binding)

Closed Issues

Closes #3969

… (avoid memory leak for CLR property binding)
@dnfadmin
Copy link

dnfadmin commented Nov 19, 2020

CLA assistant check
All CLA requirements met.

@punker76 punker76 added this to the 2.4.0 milestone Nov 20, 2020
@punker76 punker76 merged commit 0fbb6e1 into MahApps:develop Nov 21, 2020
@punker76
Copy link
Member

@lipchev your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Memory leak in MahApps.Templates.ValidationError
3 participants