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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access