Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Grid for Microsoft .NET User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

6.3 Structure and Design

The GridTabControl is derived from the System.Windows.Forms.Panel class. GridTabControl is a composite control. It contains the object of the GridTabBeam class, which provides the functionality of a sheet-tab control and provides controls that make the tabs.


All the containing controls, including the GridTabBeam, are accessible through the Controls collection of the GridTabControl, but do not access the GridTabBeam directly. Instead, access its functionality through the wrapper functions of the GridTabControl.

The GridTabControl implements an IExtenderProvider interface and provides two extending properties for all its children controls (except the tab beam):

Other properties that determine the GridTabControl behavior are:

These two properties are synchronized. If SelectedIndex property is changed to a new value, the SelectedSheet property returns a reference to a corresponding tab Control-derived object.

If any of these properties change the selected tab, the SelectedIndexChanged event occurs.

The GridTabBeam control is also a composite control, but it contains windowless objects: four navigation buttons, which are always present on the tab beam, and a variable number of tab buttons.

Most of the functionality of the GridTabControl is concentrated in the GridTabBeam class. It holds the information about tab indexes and labels, changes the active tab by reacting to the mouse input, and recalculate the size and position of the tabs.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.