I have a PropertyChangedCallback of a dependency property from which inside I try to change a VisualState using VisualStateMangager.GotoState(...). It doesn't work.
Even if I ty to change Visibilty or IsEnabled property of a UI element it doesn't work.
Is there something special I have to take into account?
Any help is very much appreciated.