(X) Hide this Upcoming webinar by Brian Noyes: Querying and Updating Data From Silverlight Clients with WCF RIA Services. February 2nd, 10 am PST (see your local time)
Full webinar info | Register | Read WCF RIA Services Article series by Brian Noyes
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / Articles / Misc

Update VisualState From ViewModel

+ Add to SilverlightShow Favorites
2 comments   /   posted by Silverlight Show on Jan 27, 2011
(0 votes)

                                                     This article has been deleted on Code Project!

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterGagan Kapoor demonstrates a cool way of handling visual states on xaml.

Source: The Code Project

A nice and cleaner way of handling visual states on xaml is setting the states from ViewModel rather than setting Visibility of each control using Binding and then setting binding at viewmodel. Creating visual state groups simplify concept of understanding the UI and gives more flexibility for designers to work on it independently. Below I have designed simple example to demonstrate the concept.
Share


Comments

Comments RSS RSS
  • RE: Update VisualState From ViewModel  

    posted by Jeremy Likness on Jan 27, 2011 16:07
    Looks like it's been deleted on CodeProject.
  • RE: Update VisualState From ViewModel  

    posted by SilverlightShow on Jan 27, 2011 16:25

    Hi Jeremy,

    Thank you for reporting the missing article. We've updated the news so people could know that the link is broken.

    Greetings,

    SilverlightShow Team

Add Comment

 
 

   
  
  
   
Please add 1 and 4 and type the answer here: