Recommended

  • Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

More from Silverlight Show

Skip Navigation LinksHome / News / View News

UniformGrid for Silverlight

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Mar 12, 2010
(0 votes)
Tags: UniformGrid , WPF , XAML
Jobi Joy has converted the WPF UniformGrid to Silverlight.

My recent Silverlight project had a need to distribute the items in rows and columns. I had to dynamically calculate the number of columns and rows it needed based on some logic. So it was clear that I need UniformGrid as in WPF so that I can bind my ViewModel properties to Rows and Columns properties of the Panel. But it was a bit surprising to me that there isn’t a Silverlight UniformGrid either in Silverlight SDK or in Silverlight ToolKit. So here is one I ported from WPF. Check out the Silverlight 3.0 demo below

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 8 and 5 and type the answer here: