![Windows 8 Beauty Tip: Using a VariableSizedWrapGrid in a GridView makes Grids Prettier](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbP_ZMupjdVH02X6GOyWzUPK1J3KcpQbIsTQUywfFwNk_NwMHHyjb3b7nKTPndzPPtVcrqYztAPR18N0hFG58mvPfb4FvccZC0R1QQfz-anAM44__idHYuKJLheAVu3yx34b0FGwYiZXlb/?imgmax=800)
Using a GridView in XAML is the primary way to show lists of data. The GridView inherits ItemsControl and behaves like the ListView which behaves like a classic ListBox. The GridView scrolls horizontally, handles selection, rearrangement, and (as we see in this article) also allows for variable sited items.
The GridView’s ItemsPanel is a WrapGrid by default. Unlike a VariableSizedWrapGrid, the WrapGrid creates a strictly uniform grid of items. It’s beautiful, actually. The VariableSizedWrapGrid, on the other hand, lets developers create custom and create UI.
Read full article
here
No comments:
Post a Comment