{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/XamlBehaviors/issues/75","repository_url":"https://api.github.com/repos/Microsoft/XamlBehaviors","labels_url":"https://api.github.com/repos/Microsoft/XamlBehaviors/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/XamlBehaviors/issues/75/comments","events_url":"https://api.github.com/repos/Microsoft/XamlBehaviors/issues/75/events","html_url":"https://github.com/Microsoft/XamlBehaviors/issues/75","id":128367469,"number":75,"title":"DataTriggerBehavior broken","user":{"login":"thang2410199","id":2436920,"avatar_url":"https://avatars.githubusercontent.com/u/2436920?v=3","gravatar_id":"","url":"https://api.github.com/users/thang2410199","html_url":"https://github.com/thang2410199","followers_url":"https://api.github.com/users/thang2410199/followers","following_url":"https://api.github.com/users/thang2410199/following{/other_user}","gists_url":"https://api.github.com/users/thang2410199/gists{/gist_id}","starred_url":"https://api.github.com/users/thang2410199/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thang2410199/subscriptions","organizations_url":"https://api.github.com/users/thang2410199/orgs","repos_url":"https://api.github.com/users/thang2410199/repos","events_url":"https://api.github.com/users/thang2410199/events{/privacy}","received_events_url":"https://api.github.com/users/thang2410199/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-24T02:19:47Z","updated_at":"2016-02-23T11:32:35Z","closed_at":"2016-02-23T11:32:35Z","body":"Recently I update my app to use the nuget version of Behaviors (this repo). My app stop changing VisualState when property changed.\r\n\r\nHere is the code:\r\n\r\n\r\n    <i:Interaction.Behaviors>\r\n            <core:DataTriggerBehavior Binding=\"{Binding HeaderLoaded}\"\r\n                                      ComparisonCondition=\"Equal\"\r\n                                      Value=\"True\">\r\n                <core:GoToStateAction StateName=\"HeaderLoaded\"\r\n                                      TargetObject=\"{Binding ElementName=root}\"\r\n                                      UseTransitions=\"True\" />\r\n            </core:DataTriggerBehavior>\r\n            <core:DataTriggerBehavior Binding=\"{Binding HeaderLoaded}\"\r\n                                      ComparisonCondition=\"NotEqual\"\r\n                                      Value=\"True\">\r\n                <core:GoToStateAction StateName=\"Default\"\r\n                                      TargetObject=\"{Binding ElementName=root}\"\r\n                                      UseTransitions=\"False\" />\r\n            </core:DataTriggerBehavior>\r\n    </i:Interaction.Behaviors>\r\n\r\nI navigate to the page, Visual state changes to HeaderLoaded, I go back, it changes to Default. After that, it remains Default, despite that HeaderLoaded changes to true.\r\nIn short, Visual state never be changed after navigating from the Page."}}