Silverlight Grid Layout is pain
Posted
by brainbox
on ASP.net Weblogs
See other posts from ASP.net Weblogs
or by brainbox
Published on Mon, 12 Apr 2010 17:56:00 GMT
Indexed on
2010/04/13
13:33 UTC
Read the original article
Hit count: 598
I think one of the biggest mistake of Silverlight and WPF is its Grid layout.
Imagine you have a data form with 2 columns and 5 rows. You need to place new row after the first one. As a result you need to rewrite Grid.Rows and Grid.Columns in all rows belows.
But the worst thing of such approach is that it is static. So you need predefine all your rows and columns. As a result creating of simple dynamic datagrid or dataform become impossible...
So the question if why best practices of HTML and Adobe Flex were dropped????
If anybody have tried to port Flex Grid layout to silverlight please mail me or drop a comment.
© ASP.net Weblogs or respective owner