OutlookBar Control Implementation

The implementation for the OutlookBar control is divided into three parts:

  • The OutlookBar control

  • Custom OutlookBarTab collection

  • OutlookBarDesigner

The OutlookBar control provides a custom event for notification when the selected OutlookBarTab changes. In addition, some basic properties are provided, such as the active tab, the index of the active tab, and a collection of OutlookBarTab objects.

The OutlookBarTab collection provides a means to add new tabs to the OutlookBar at design-time or runtime. This collection is discussed later in the chapter.

The OutlookBarDesigner adds support for drag-and-drop during design-time, as well as the capability to activate the hosted tabs within the control similar to the Windows ...

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.