views:

398

answers:

0

I'm porting a WPF application to Silverlight. DataTemplates in XAML are used to define the visuals for the data objects.

In WPF, triggers are defined in the DataTemplates to provide mouse-over effects, etc. This is all done in xaml.

I understand that Silverlight does not have triggers, and you are supposed to use the Visual State Manager.

The problem is that it does not seem possible to use the Visual State Manager in a DataTemplate in Silverlight. Correct?

Any ideas on how to do this in Silverlight? alttext