Page 1 of 1

WPF Visual State Manager doesnt see VisualState.Setters in .xaml

Posted: 23 Apr 2021, 13:41
by BartekW
Hey, I have a problem with Visual State Manager again. Idk why my WPF doesnt see VIsualState.Setters marks.
It only shows Storyboard. Any advice what can I check or do for this?
And another question: Why if my control is in State A and goes to B cant back to A?

Re: WPF Visual State Manager doesnt see VisualState.Setters in .xaml

Posted: 27 Apr 2021, 20:13
by sfernandez
Hi,

WPF doesn't define any Setters property, maybe you get that from UWP VisualState.

You should be able to change from state A to B, and back to A again. Just check that A state has all the required properties set so the transition knows what properties it should animate.