![]() ![]() | ||
As discussed in the In Depth section of this chapter, you use tab pages in tab controls. Tab pages are descended from Panel controls, so, as you'd expect, they can contain other controls (and that's the whole point). Here is the class hierarchy of TabPage:
Object MarshalByRefObject Component Control ScrollableControl Panel TabPage
You can find the notable public properties of TabPage objects in Table 10.24. Note that I'm omitting the properties, methods, and events tab pages inherit from the Control class, which you can find in Chapter 5, Tables 5.1, 5.2, and 5.3, and the properties they inherit from Panel controls, which you can find in Chapter 6, Table 6.8.
Property |
Means |
---|---|
ImageIndex |
Gets/sets the index of the image in this tab. |
Text |
Gets/sets the text to show in the tab. |
ToolTipText |
Gets/sets the tab's tool tip text. |
![]() ![]() | ||