TabControl Control Members
See Also
TabControl Overview

TabControl Control Members
Public Methods
| Method |
Description |
AboutBox |
Displays the about box for the control. |
GetClientRect |
Returns the tab client area bounding coordinates. |
HitTest |
Returns the TabControl that the user clicked. This can be helpful when determining where the user clicked in the TabControl. |
InsertItem |
Inserts a new TabControlItem (tab) into the TabControl. |
Item |
Gets a TabControl item by index. |
RemoveAll |
Removes all TabControlItem(s) from the TabControl. |
RemoveItem |
Removes a specific TabControlItem from the TabControl. |
SetImageList |
Assigns an ImageList to the TabControl. The images in the ImageList are used to display icons in the tab buttons of the tab control. |
ShowNavigateButton |
Used to specify if and when a specific tab navigation button is displayed in the tab control header. |
Public Properties
| Property |
Description |
AllowReorder |
Enables/Disables tab reordering. When True, the tabs can be reordered. |
Appearance |
Gets/Sets the appearance of the tabs. |
AutoResizeClient |
Specifies whether the TabControl automatically positions and resizes controls in the tab client area when they are attached to a tab. |
ClientHeight |
Height of Client Area. |
ClientLeft |
Left of Tab Client Area. |
ClientTop |
Top of Tab Client Area. |
ClientWidth |
Width of Client Area. |
Color |
Gets/Sets the color style of the tabs. |
DrawFocusRect |
Gets/Sets whether a focus rectangle is drawn around the text caption of a tab button when the tab has focus. |
Enabled |
Gets/Sets a Boolean value indicating whether the TabControl is enabled/disabled. |
EnableMarkup |
Allows the use of a XAML snippet to be used for the control. |
Font |
Gets/Sets the font that will be used to display the text for the control. |
HeaderScrollOffset |
Gets or sets the scroll offset of the tab buttons in the tab header. This is how much the tabs have been scrolled by pressing the left "<" and right ">" tab navigation buttons. |
hWnd |
The Handle of the TabControl object. |
Icons |
The Icons property is a collection of icons that can be used in TabControlItem objects. |
ItemCount |
Gets/Sets the total number of TabControlItem(s) (tabs) in the TabControl. |
OLEDropMode |
Returns or sets how a target component handles drop operations. |
PaintManager |
The tab paint manager is used to customize the appearance of your tabs. |
ReCreateReparented |
Gets/Sets whether the TabControl elements are aligned to support locales using right-to-left fonts. |
RightToLeft |
Gets/Sets a value indicating whether the TabControl elements are aligned to support locales using right-to-left fonts. |
Selected |
Gets/Sets the currently selected tab in the tab control. A tab is selected when it has been clicked or has focus. |
SelectedItem |
Gets/Sets the currently selected TabControlItem. |
ShowCloseItemButton |
Specifies whether to show a close button on each individual tab button. |
ToolTipContext |
Represents the tool tip window that is used to display tool tips. |
Events
| Event |
Description |
BeforeItemClick |
Occurs when a tab button is clicked, but before the click message is processed by the TabControl. |
ItemDblClick |
Occurs when a tab button is double-clicked. |
ItemOrderChanged |
Occurs when the tab button order has changed. |
MouseMove |
Occurs when the mouse cursor is moved over any part of the TabControl. |
MouseUp |
Occurs when the tab buttons or the area surrounding the tab buttons (not including the object attached to the tab) has a mouse click that is released. This event is not triggered on single left mouse clicks. This event is triggered on all mouse button clicks except the above noted, and it is triggered on a left button double-click. |
NavigateButtonClick |
Occurs when a tab navigation button is clicked. |
OLEDragDrop |
Occurs when a source component is dropped onto a target component when the source component determines that a drop can occur. |
OLEDragOver |
Occurs when one component is dragged over another. |
ReCreated |
Occurs when a new TabControl is created. |
SelectedChanged |
Occurs when a different TabControlItem is selected in the TabControl. |
See Also
TabControl Overview
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.