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

Binding to window Topmost property will be lost (MahApps #3738) #104

Closed
punker76 opened this issue Feb 13, 2020 · 0 comments
Closed

Binding to window Topmost property will be lost (MahApps #3738) #104

punker76 opened this issue Feb 13, 2020 · 0 comments
Labels
Milestone

Comments

@punker76
Copy link
Member

Binding to window Topmost property will be lost (MahApps #3738)

@punker76 punker76 added the Bug label Feb 13, 2020
@punker76 punker76 added this to the 4.2.2 milestone Feb 13, 2020
punker76 added a commit that referenced this issue Feb 13, 2020
Fix WPF0041 Set mutable dependency properties using SetCurrentValue.

Setting the value of dependency properties using the CLR accessor calls SetValue(Property, value). This will kill one-way bindings on the property. This rule is probably most relevant in library code where accidentally setting a value can be a hard to track down bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant