GridView

If you are familiar with ListView, then you’re already familiar with GridView, because it’s effectively just a ListView with a different layout that wraps its items into additional columns. ListView and GridView both derive from a class called ListViewBase, and every API discussed in the preceding section actually belongs to ListViewBase! Both ListView and GridView add zero public APIs to their base class besides a default constructor. Therefore, you can think of ListView and GridView as the same control but with different items panels. The reality is a bit more complicated, however, because the two classes have different implementation details that rely on their own default items panels.

Because all the behaviors of GridView are covered ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.