Skip to main content
Version: 3.5

TabPage

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a single tab page in a TabControl.

public class TabPage : Panel

Constructors

Instance memberTabPage()

Initializes a new instance of the TabPage class.

Instance memberTabPage(text)

Initializes a new instance of the TabPage class and specifies the text to display as the title the tab.

NameTypeDescription
textStringThe text for the tab.

Properties

Instance memberAllowHtml

Boolean: Returns or sets a value indicating that the control can display html in the Text property. (Default: False)

Newlines (CRLF) are converted to <BR/> when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.

Instance memberCharacterCasing

CharacterCasing: Returns or sets the case of the text to display to the user. (Default: Normal)

Instance memberHidden

Boolean: Returns or sets whether the TabPage is visible in the parent TabControl. (Default: False)

Instance memberImageIndex

Int32: Returns or sets the index for the image in the ImageList of the associated TabControl. (Default: -1)

Throws:

Instance memberImageKey

String: Returns or sets the key accessor for the image in the ImageList of the associated TabControl. (Default: "")

Instance memberShowCloseButton

Boolean: Returns or sets a value indicating that the tab can show the close button next to the name. (Default: False)

Instance memberShowInVisibilityMenu

Boolean: Returns or sets whether the tab page should be included in the visibility menu. (Default: True)

Instance memberTabBackColor

Color: Returns or sets the background color of the TabPage tab button. (Default: Color [Empty])

Instance memberTabControl

TabControl: Returns the parent TabControl.

Instance memberTabForeColor

Color: Returns or sets the text color of the TabPage tab button. (Default: Color [Empty])

Instance memberText

String: Returns or sets the text to display on the tab. (Default: "")

Instance memberToolTipText

String: Returns or sets the ToolTip text for this tab. (Default: "")

Instance memberUseMnemonic

Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True)

Instance memberVisible

Boolean: Returns or sets whether the control and all its child controls are displayed.

Methods

Static memberGetTabPageOfComponent(control)

Retrieves the tab page that contains the specified Control.

ParameterTypeDescription
controlControlThe Control to look for.

Returns: TabPage. The TabPage that contains the specified Control, or null if it cannot be found.

Instance memberGetTabRect()

Returns the bounding rectangle for a specified tab in this tab control.

Returns: Rectangle. A Rectangle that represents the bounds of the specified tab.

Instance memberUpdate()

Overridden to update the parent TabControl when in design mode.

Events

Instance memberTextChanged

EventHandler Fired when the value of the Text property changes.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IImageProvides access to common image properties across the controls that implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.