By modifying the default ListBox and ListBoxItem styles and ControlTemplates, it isn’t too difficult to make ListBoxItems look the way you’d like.  You can also modify the existing MouseOver or Selected Storyboards to add your own animation effects.  But to add some additional polish to an application, I’ll demonstrate how to animate the adding and removing of ListBoxItems.

Here is a look at the finished example which allows you to add and remove ListBox items (Silverlight plug-in required):

Get Microsoft Silverlight

To start, we will animate the fade in and fade out of ListBoxItems as they are added and removed.

Use Expression Blend ...

The Problem


 

The UISplitViewController is the flagship iPad user interface element, as it allows your application to optimize the use of the large screen.  This control manages 2 views, usually a master view (for navigation) and a detail view (for content).  When in landscape mode, the controller shows both views side-by-side, and when the device is rotated to portrait mode, the master view is hidden and the detail view occupies the full screen.  In this case, the SplitView controller places the master view in a hidden UIPopoverController, and the common MO is to add a button to a toolbar ...