The TabControl type exposes the following members.

Constructors

  NameDescription
TabControl
Initializes a new instance of the TabControl class.

Methods

  NameDescription
BeginInvokeOverloaded.
BringToFront
Brings the control to the front of the z-order.
(Inherited from Control.)
CreateControlsInstance
Creates a new instance of the control collection for the control.
(Inherited from Control.)
CreateGraphics
Creates the Graphics for the control.
(Inherited from Control.)
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
DisposeOverloaded.
Draw
Draws the foreground of TabControl.
(Overrides DoubleBufferingControlDraw(Graphics).)
DrawBackGround
Draws the background of TabControl.
(Overrides DoubleBufferingControlDrawBackGround(Graphics).)
EndInvoke
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Focus
Sets input focus to the control.
(Inherited from Control.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetMyBackground (Inherited from DoubleBufferingControl.)
GetScaledBounds
Retrieves the bounds within which the control is scaled.
(Inherited from Control.)
GetType
Gets the type of the current instance.
(Inherited from Object.)
Hide
Conceals the control from the user.
(Inherited from Control.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
InvalidateOverloaded.
InvokeOverloaded.
MemberwiseCloneOverloaded.
OnBindingContextChanged
Raises the BindingContextChanged event.
(Inherited from Control.)
OnClick
Raises the Click event.
(Inherited from Control.)
OnDoubleClick
Raises the DoubleClick event.
(Inherited from Control.)
OnEnabledChanged
Raises the EnabledChanged event.
(Inherited from Control.)
OnGotFocus
Raises the GotFocus event.
(Inherited from Control.)
OnGraphicsChanged (Inherited from DoubleBufferingControl.)
OnHandleCreated
Raises the HandleCreated event.
(Inherited from Control.)
OnHandleDestroyed
Raises the HandleDestroyed event.
(Inherited from Control.)
OnHelpRequested
Raises the HelpRequested event.
(Inherited from Control.)
OnKeyDown
Raises the KeyDown event.
(Inherited from Control.)
OnKeyPress
Raises the KeyPress event.
(Inherited from Control.)
OnKeyUp
Raises the KeyUp event.
(Inherited from Control.)
OnLostFocus
Raises the LostFocus event.
(Inherited from Control.)
OnMouseDown
Raises the MouseDown event.
(Inherited from Control.)
OnMouseMove
Raises the MouseMove event.
(Inherited from Control.)
OnMouseUp
Raises the MouseUp event.
(Inherited from Control.)
OnPaint (Inherited from DoubleBufferingControl.)
OnPaintBackground (Inherited from DoubleBufferingControl.)
OnParentGraphicsChanged (Inherited from DoubleBufferingControl.)
OnParentChanged (Inherited from DoubleBufferingControl.)
OnResize
Called whenever TabControl is resized.
(Overrides DoubleBufferingControlOnResize(EventArgs).)
OnSelectedTabIndexChanged
Raises the SelectedTabIndexChanged event.
OnTextChanged
Raises the TextChanged event.
(Inherited from Control.)
PerformAutoScale
Performs scaling of the container control and its children.
(Inherited from ContainerControl.)
PointToClient
Computes the location of the specified screen point into client coordinates.
(Inherited from Control.)
PointToScreen
Computes the location of the specified client point into screen coordinates.
(Inherited from Control.)
PrepareBackground (Inherited from DoubleBufferingControl.)
PrepareForeground (Inherited from DoubleBufferingControl.)
RectangleToClient
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control.)
RectangleToScreen
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control.)
RedrawBackgroundOverloaded.
RedrawForeground (Inherited from DoubleBufferingControl.)
RedrawParentBackground Obsolete. (Inherited from DoubleBufferingControl.)
Refresh
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control.)
ResetActiveTabColors
Sets the ActiveTabColors to the default value.
ResetAutoScaleImages
Sets the AutoScaleImages to the default value.
ResetBackgroundOpacityPercent (Inherited from DoubleBufferingControl.)
ResetBorderColor
Sets the BorderColor to the default value.
ResetCacheBackground (Inherited from DoubleBufferingControl.)
ResetCacheControlBuffer (Inherited from DoubleBufferingControl.)
ResetCacheForeground (Inherited from DoubleBufferingControl.)
ResetContinuousScroll
Sets the ContinuousScroll to the default value.
ResetGradientBackground
Sets the GradientBackground to the default value.
ResetImages
Sets the Images to the default value.
ResetMinMouseMove
Sets the MinMouseMove to the default value.
ResetOpacityPercent (Inherited from DoubleBufferingControl.)
ResetSelectedTabIndex
Sets the SelectedTabIndex to the default value.
ResetSeparatorColor
Sets the SeparatorColor to the default value.
ResetShowCursorOnFirstTouch
Sets the ShowCursorOnFirstTouch to the default value.
ResetShowSeparators
Sets the ShowSeparators to the default value.
ResetStaticBackgroundImage
Sets the TabBarPosition to the default value.
ResetTabBarHeight
Sets the TabBarHeight to the default value.
ResetTabBarPosition
Sets the TabBarPosition to the default value.
ResetTabBarWidth
Resets the [!:RabBarWidth] property to its default value.
ResetTabPages
Sets the TabPages to the default value.
ResetTabsPerPage
Sets the TabsPerPage to the default value.
ResetUseGradientBackground
Sets the UseGradientBackground to the default value.
ResumeLayoutOverloaded.
Scale
Scales the control and all child controls by the specified scaling factor.
(Inherited from Control.)
ScaleControl (Inherited from ScrollableControl.)
SelectNextControl
Activates the next control.
(Inherited from Control.)
SendToBack
Sends the control to the back of the z-order.
(Inherited from Control.)
ShouldSerializeActiveTabBarPage
Indicates whether the ActiveTabBarPage property should be persisted.
ShouldSerializeAutoScaleImages
Indicates whether the AutoScaleImages property should be persisted.
ShouldSerializeBackgroundOpacityPercent (Inherited from DoubleBufferingControl.)
ShouldSerializeBorderColor
Indicates whether the BorderColor property should be persisted.
ShouldSerializeCacheBackground (Inherited from DoubleBufferingControl.)
ShouldSerializeCacheControlBuffer (Inherited from DoubleBufferingControl.)
ShouldSerializeCacheForeground (Inherited from DoubleBufferingControl.)
ShouldSerializeContinuousScroll
Indicates whether the ContinuousScroll property should be persisted.
ShouldSerializeMinMouseMove
Indicates whether the MinMouseMove property should be persisted.
ShouldSerializeOpacityPercent (Inherited from DoubleBufferingControl.)
ShouldSerializeSelectedTabIndex
Indicates whether the SelectedTabIndex property should be persisted.
ShouldSerializeSelectedTabPage
Indicates whether the SelectedTabPage property should be persisted.
ShouldSerializeSeparatorColor
Indicates whether the SeparatorColor property should be persisted.
ShouldSerializeShowCursorOnFirstTouch
Indicates whether the ShowCursorOnFirstTouch property should be persisted.
ShouldSerializeShowSeparators
Indicates whether the ShowSeparators property should be persisted.
ShouldSerializeStaticBackgroundImage
Indicates whether the StaticBackgroundImage property should be persisted.
ShouldSerializeTabBarHeight
Indicates whether the TabBarHeight property should be persisted.
ShouldSerializeTabBarPosition
Indicates whether the TabBarPosition property should be persisted.
ShouldSerializeTabBarWidth
Indicates whether the TabBarWidth property should be persisted.
ShouldSerializeTabsPerPage
Indicates whether the TabsPerPage property should be persisted.
ShouldSerializeUseGradientBackground
Indicates whether the UseGradientBackground property should be persisted.
Show
Displays the control to the user.
(Inherited from Control.)
SuspendLayout
Temporarily suspends the layout logic for the control.
(Inherited from Control.)
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Update
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.)

Fields

  NameDescription
DirtyBackground (Inherited from DoubleBufferingControl.)
DirtyForeground (Inherited from DoubleBufferingControl.)
DirtyParent Obsolete. (Inherited from DoubleBufferingControl.)
DoubleBufferingEnabled (Inherited from DoubleBufferingControl.)
gfxBackground (Inherited from DoubleBufferingControl.)
gfxControl (Inherited from DoubleBufferingControl.)
gfxForeground (Inherited from DoubleBufferingControl.)
gfxParent (Inherited from DoubleBufferingControl.)
m_BmpBackground (Inherited from DoubleBufferingControl.)
m_BmpControlBitmap (Inherited from DoubleBufferingControl.)
m_BmpForeground (Inherited from DoubleBufferingControl.)
m_BmpParent Obsolete. (Inherited from DoubleBufferingControl.)

Properties

  NameDescription
ActiveTabBarPage
Gets or sets the index of currently visible page on TabBar.
ActiveTabColors
Gets or sets the colors used to paint the background of active TabPage.
Anchor
Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
(Inherited from Control.)
AutoScaleDimensions
Gets or sets the dimensions that the control was designed to.
(Inherited from ContainerControl.)
AutoScaleFactor
Gets the scaling factor between the current and design-time automatic scaling dimensions.
(Inherited from ContainerControl.)
AutoScaleImages
Enables or disables the auto-scaling of images.
AutoScaleMode
Gets or sets the automatic scaling mode of the control.
(Inherited from ContainerControl.)
AutoScroll
Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
(Inherited from ScrollableControl.)
AutoScrollMargin
Gets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl.)
AutoScrollPosition
Gets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl.)
AutoValidate
Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes.
(Inherited from ContainerControl.)
BackColor
Gets or sets the background color for the control.
(Overrides Control..::.BackColor.)
BackgroundOpacity (Inherited from DoubleBufferingControl.)
BackgroundOpacityPercent
Gets or sets background opacity of the tabs per cent.
(Overrides DoubleBufferingControlBackgroundOpacityPercent()()().)
BindingContext (Inherited from ContainerControl.)
BorderColor
Specifies the border color for TabBar.
BorderStyle
Gets or sets the border style of the user control.
(Inherited from UserControl.)
Bottom
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
(Inherited from Control.)
Bounds
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control.)
CacheBackground (Inherited from DoubleBufferingControl.)
CacheControlBuffer (Inherited from DoubleBufferingControl.)
CacheForeground (Inherited from DoubleBufferingControl.)
Capture
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.)
ClientRectangle
Gets the rectangle that represents the client area of the control.
(Inherited from Control.)
ClientSize
Gets or sets the height and width of the client area of the control.
(Inherited from Control.)
ContextMenu
Gets or sets the shortcut menu associated with the control.
(Inherited from Control.)
ContinuousScroll
If set, TabBar will scroll to the first page from the last one and vice-versa.
Controls
Gets the collection of controls contained within the control.
(Inherited from Control.)
CurrentAutoScaleDimensions
Gets the current run-time dimensions of the screen.
(Inherited from ContainerControl.)
DataBindings
Gets the data bindings for the control.
(Inherited from Control.)
Dock
Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
(Inherited from Control.)
Enabled
Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Focused
Gets a value indicating whether the control has input focus.
(Inherited from Control.)
Font
Gets or sets the font of the text displayed by the control.
(Inherited from Control.)
ForeColor
Gets or sets the foreground color of the control.
(Inherited from Control.)
GradientBackground
Gets or sets the colors used to paint the background of TabBar.
Handle
Gets the window handle that the control is bound to.
(Inherited from Control.)
Height
Gets or sets the height of the control.
(Inherited from Control.)
Images
Gets or sets the PngImageList object which holds all the images which will be used for the TabPages.
InvokeRequired
Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
(Inherited from Control.)
IsDisposed
Gets a value indicating whether the control has been disposed of.
(Inherited from Control.)
Left
Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
(Inherited from Control.)
Location
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control.)
MinMouseMove
Gets or sets the distance in pixels the user needs to swipe across TabBar for it to scroll the TabPages.
Name
Gets or sets the name of the control.
(Inherited from Control.)
Opacity (Inherited from DoubleBufferingControl.)
OpacityPercent
Gets or sets the opacity of the tabs per cent.
(Overrides DoubleBufferingControlOpacityPercent()()().)
Parent
Gets or sets the parent container of the control.
(Inherited from Control.)
ParentBgNeeded (Inherited from DoubleBufferingControl.)
Right
Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
(Inherited from Control.)
ScaleChildren
Gets a value that determines the scaling of child controls.
(Inherited from Control.)
SelectedTabIndex
Gets or sets the index of currently selected TabPage.
SelectedTabPage
Gets or sets the selected TabPage.
SeparatorColor
Gets or sets the Color for separators.
ShowCursorOnFirstTouch
Gets or sets whether show the cursor on first touch or not.
ShowSeparators
Enables or disables drawing of separator lines between the TabPage buttons.
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Size
Gets or sets the height and width of the control.
(Inherited from Control.)
StaticBackgroundImage
Gets or sets static background image that will be used for every TabPage. It saves the devices memory.
TabBarCursor
Gets the cursor setting of the tab bar.
TabBarHeight
Gets or sets the Height of TabBar.
TabBarPosition
Specifies the position of TabBar.
TabBarWidth
Gets or sets the Width of TabBar.
TabIndex
Gets or sets the tab order of the control within its container.
(Inherited from Control.)
TabPages
Contains the TabPage objects associated with this TabControl.
TabsPerPage
Gets or sets how many tabs (buttons) appear over TabControl.
TabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
(Inherited from Control.)
Tag
Gets or sets the object that contains data about the control.
(Inherited from Control.)
Text
Gets or sets the text associated with this control.
(Inherited from Control.)
Top
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
(Inherited from Control.)
TopLevelControl
Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control.)
UseGradientBackground
Enables or disables the gradient background.
Visible
Gets or sets a value indicating whether the control and all its child controls are displayed.
(Inherited from Control.)
Width
Gets or sets the width of the control.
(Inherited from Control.)

Events

  NameDescription
Click
Occurs when the control is clicked.
(Inherited from Control.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
DoubleClick
Occurs when the control is double-clicked.
(Inherited from Control.)
EnabledChanged
Occurs when the Enabled property value has changed.
(Inherited from Control.)
GotFocus
Occurs when the control receives focus.
(Inherited from Control.)
GraphicsChanged (Inherited from DoubleBufferingControl.)
HandleCreated
Occurs when a handle is created for the control.
(Inherited from Control.)
HandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from Control.)
HelpRequested
Occurs when the user requests help for a control.
(Inherited from Control.)
KeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
KeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from Control.)
KeyUp
Occurs when a key is released while the control has focus.
(Inherited from Control.)
LostFocus
Occurs when the control loses focus.
(Inherited from Control.)
MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control.)
MouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from Control.)
MouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control.)
Paint
Occurs when the control is redrawn.
(Inherited from Control.)
ParentChanged
Occurs when the Parent property value changes.
(Inherited from Control.)
Resize
Occurs when the control is resized.
(Inherited from Control.)
SelectedTabIndexChanged
Occurs if the SelectedTabIndex was changed in the ToolBar
TextChanged
Occurs when the Text property value changes.
(Inherited from Control.)
Validated
Occurs when the control is finished validating.
(Inherited from Control.)
Validating
Occurs when the control is validating.
(Inherited from Control.)

See Also