views:

35

answers:

1

When you do code like

VisualStates.GoToState(this, useTransitions, VisualStates.StateNormal);

I believe this code will only work for Silverlight apps.

will this affect the way a WPF app works...

Trying to incorportae controls that can be shared between both silverlight and WPF apps and was just wondering what were the main pitfalls were...

+1  A: 

The WPF Toolkit has added a "Visual State Manager" concept to WPF. You can get it here, and read more about it here.

Ken Smith