TabPage
Wisej.Web.TabPage
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a single tab page in a TabControl.
public class TabPage : Panel
Constructors
TabPage()

Initializes a new instance of the TabPage class.
TabPage(text)

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

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.
CharacterCasing

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

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

Int32: Returns or sets the index for the image in the ImageList of the associated TabControl. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
ImageKey

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

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

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

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

TabControl: Returns the parent TabControl.
TabForeColor

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

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

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

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
)
Visible

Boolean: Returns or sets whether the control and all its child controls are displayed. (Default: False
)
Methods
CreateControlsInstance()

Returns: ControlCollection. A new instance of ControlCollection assigned to the control.
GetTabPageOfComponent(control)

Retrieves the tab page that contains the specified Control.
Returns: TabPage. The TabPage that contains the specified Control, or null if it cannot be found.
GetTabRect()

Returns the bounding rectangle for a specified tab in this tab control.
Returns: Rectangle. A Rectangle that represents the bounds of the specified tab.
OnTextChanged(e)

Fires the TextChanged event.
OnWebEvent(e)

Processes the event from the client.
OnWebRender(config)

Renders the client component.
OnWebUpdate(state)

Updates the client component using the state information.
RenderPanelProperties(config)

Select()

Selects the current TabPage.
SetBoundsCore(x, y, width, height, specified)

This member overrides SetBoundsCore.
Update()

Overridden to update the parent TabControl when in design mode.
Events
TextChanged

EventHandler Fired when the value of the Text property changes.
Implements
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?