-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
CompositeStateTrigger does not work with MVVM #38
Comments
I am having this same issue.
|
Can you try {x:Bind} instead of {Binding} in the StateTrigger? |
I have the same issue but with x:Bind it works. I have no idea why is classic Binding broken. |
I observed the same thing, |
When trying to use CompositeStateTrigger with a ViewModel the PropertyChangedCallback of the Dependency Property of the inner StateTrigger is only fired once upon page load and never again. The examples in the TestApp project, which do not use MVVM and bind directly to the page elements, work as intended.
To Reproduce:
To reproduce the issue I have put together a simple example project. Please note that the EqualsStateTrigger should already use the fix mentioned in issue #37.
View - MainPage.xaml
ViewModel - MainViewModel.cs
The text was updated successfully, but these errors were encountered: