Skip to main content
Home Learn Videos Silverlight Videos Add States to a UserControl for Silverlight
Presented by:Steve White
June 03, 2008 | Duration: 6:17
Login to Rate
:( Error
0 0
Select Your Format
Steve White demonstrates how to add states to a Silverlight UserControl, how to define the look of the states and the transitions between them, and how to add the code to trigger state changes.
Member
1 Points
#1 July 03, 2008 10:12 PM
Hi Steve,
I've tried stripping this down to the bare bones but I keep getting the following error:
Error 1 The attachable property 'VisualStateGroups' was not found in type 'VisualStateManager'.
Can you explain why it's not recognising The VisualStateGroups?
The app still runs and works Ok but I can no longer see the XAML design, as it says it I must resolve the errors first.
5 Points
#2 July 12, 2008 1:00 PM
Hi glen.
Are you trying to work with this project in Visual Studio? There is currently a bug in the Silverlight Tools for Visual Studio that causes the behavior that you describe. As you say, the project will still compile and run just fine.
Expression Blend properly recognizes VisualStateGroups in XAML, and you should be able to use the designer to edit the Visual State Groups.
-Devin
#3 September 04, 2008 8:18 PM
My Intellisense doesn't have a FlyOut control. Is this an add-on or something?
6 Points
#4 December 07, 2008 5:45 PM
The code sample needs to be updated, it doesn't work with the release version of Silverlight 2. It would be much more helpful if the code sample worked.
Best Regards,
Joe
12 Points
#5 February 18, 2009 11:02 AM
I was thinking of doing something similar to this but i had no idea how to begin my search, thanks
25 Points
#6 May 20, 2009 11:47 PM
Thank You. I always wondered how but didn't realize it was this easy...
10 Points
#7 June 02, 2009 11:52 AM
yep, the video is great but I really miss being able to learn and experiment from it because the code sample doesn't work. if it could be updated that would be excellent - ewart @ ihug dot co dot nz
#8 July 08, 2009 3:59 PM
Very helpful for me, but i would have preferred more emphasis on the VB potion as well
14 Points
#9 August 07, 2009 5:11 AM
steve,
I know this is over a year old but it really helped me. As a beginner I need all the help I can get and this was clear and very easy to follow.
Thank you so much,
mc
You must be logged in to leave a comment. Click here to log in.