Design

Designing and building the ImageListView control appears to be harder than it actually is. The goal of the ImageListView control is to mimic the basic look and feel of the list of images hosted within the Outlook shortcut bar. These images include the Inbox, Today, Calendar, and Notes images, to name a few. Figure 9.1 shows our ImageListView control at both design-time (on the left) and runtime (on the right).

Figure 9.1. The ImageListView control.

The ImageListView control supports the following features:

  • Large images (32×32)

  • Small images (16×16)

  • Scrolling

  • Hover effect

Scrolling support is provided by “faking” a set of scroll-like buttons ...

Get .NET Windows® Forms Custom Controls 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.