Implementation

Implementation of the ImageListView control requires constructing the following components:

  • ScrollButton component

  • ImageListViewItem component

  • ImageListView control

  • ImageListViewDesigner

Of these four components, only three are tightly coupled: ImageListViewItem, ImageListView, and ImageListViewDesigner. The ScrollButton class is designed to be independent so that it can be reused in other projects. This of course raises another key design ideal: reusable components. During the course of developing controls, or any software, there exists a set of shared/common functionality that can be reused. All endeavors in development should look for such reusable components.

Each of the following sections describes the design and implementation ...

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.