System.Windows.Forms.TabPage Members

The members of System.Windows.Forms.TabPage are listed below.

See Also: Inherited members from System.Windows.Forms.Panel

Public Constructors

Initializes a new instance of the System.Windows.Forms.TabPage class.

Initializes a new instance of the System.Windows.Forms.TabPage class and specifies the text for the tab.

Public Properties

override
AnchorAnchorStyles.

This member is not meaningful for this control.

override
AutoSizebool.

This property is not meaningful for this control.

override
AutoSizeModeAutoSizeMode.

This property is not meaningful for this control.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color for the System.Windows.Forms.TabPage.

override
DockDockStyle.

This member is not meaningful for this control.

Enabledbool.

This member is not meaningful for this control.

ImageIndexint.

Gets or sets the index to the image displayed on this tab.

ImageKeystring.

Gets or sets the key accessor for the image in the TabControl.ImageList of the associated System.Windows.Forms.TabControl.

LocationSystem.Drawing.Point.

This property is not meaningful for this control.

override
MaximumSizeSystem.Drawing.Size.

This property is not meaningful for this control.

override
MinimumSizeSystem.Drawing.Size.

This property is not meaningful for this control.

[read-only]
PreferredSizeSystem.Drawing.Size.

This property is not meaningful for this control.

TabIndexint.

This property is not meaningful for this control.

TabStopbool.

This member is not meaningful for this control.

override
Textstring.

Gets or sets the text to display on the tab.

ToolTipTextstring.

Gets or sets the ToolTip text for this tab.

UseVisualStyleBackColorbool.

Gets or sets a value indicating whether the System.Windows.Forms.TabPage background renders using the current visual style when visual styles are enabled.

Visiblebool.

This member is not meaningful for this control.

Public Methods

static
GetTabPageOfComponent(object) : TabPage

Retrieves the tab page that contains the specified object.

override
ToString() : string

Returns a string containing the value of the TabPage.Text property.

Protected Methods

override
CreateControlsInstance() : Control.ControlCollection
Documentation for this section has not yet been entered.
override
OnEnter(EventArgs)

Raises the Control.Enter event of the System.Windows.Forms.TabPage.

override
OnLeave(EventArgs)

Raises the Control.Leave event of the System.Windows.Forms.TabPage.

override
OnPaintBackground(PaintEventArgs)

Paints the background of the System.Windows.Forms.TabPage.

override
SetBoundsCore(int, int, int, int, BoundsSpecified)

This member overrides Control.SetBoundsCore(int, int, int, int, BoundsSpecified).

Public Events

AutoSizeChanged

Occurs when the value of the TabPage.AutoSize property changes.

DockChanged

Occurs when the value of the TabPage.Dock property changes.

EnabledChanged

Occurs when the value of the TabPage.Enabled property changes.

LocationChanged

Occurs when the value of the TabPage.Location property changes.

TabIndexChanged

Occurs when the value of the TabPage.TabIndex property changes.

TabStopChanged

Occurs when the value of the TabPage.TabStop property changes.

TextChanged

Occurs when the value of the TabControl.Text property changes.

VisibleChanged

Occurs when the value of the TabPage.Visible property changes.