(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Windows 8 Beauty Tip: Using a VariableSizedWrapGrid in a GridView makes Grids Prettier

(0 votes)
0 comments   /   posted by Silverlight Show on Aug 24, 2012
Tags:   windows-8 , jerry-nixon

Read original post at Jerry Nixon's Blog

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.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter


Latest News

  • Daily News Digest 11/27/2012
  • New Part 3 in Our Windows Phone 8 Series. In This Article: Native Code Support!
  • Windows Phone HTML 5 App Basics
  • SQLite for WinRT