0

The States pane in Blend 4 does not appear to show the VisualStates declared on a UserControl using the TemplateVisualState attribute. Is this to be expected and if so why? Creating the States manually in Blend seems to work correctly.

David Padbury
  • 1,142
  • 7
  • 22

1 Answers1

1

User controls aren't typically designed to be modified or re-templated the same way that regular controls are.

Most of the time where you want a control to be editable and offer alternative animations (through the states panel for instance) you're going to want to build something that derives from a proper custom control type.

Jeff Wilcox
  • 6,375
  • 1
  • 24
  • 31
  • I expected as much, thank you for clarifying. I've been experimenting with tying together the VSM and MVVM to try to get the most out of Blend, hence the UserControls. – David Padbury Apr 27 '10 at 00:59