All pages
Powered by GitBook
1 of 1

Loading...

TabPage

Wisej.Web.TabPage

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

  • Control

    • ScrollableControl

Represents a single tab page in a .

Constructors

TabPage()

Initializes a new instance of the class.

TabPage(text)

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

Name
Type
Description

Properties

AllowHtml

: Returns or sets a value indicating that the control can display html in the Text property.

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

CharacterCasing

: Returns or sets the case of the text to display to the user.

Hidden

: Returns or sets whether the is visible in the parent .

ImageIndex

: Returns or sets the index for the image in the of the associated .

Throws:

  • The specified index is less than -1.

ImageKey

: Returns or sets the key accessor for the image in the of the associated .

ShowCloseButton

: Returns or sets a value indicating that the tab can show the close button next to the name.

ShowInVisibilityMenu

: Returns or sets whether the tab page should be included in the visibility menu.

TabBackColor

: Returns or sets the background color of the tab button.

TabControl

: Returns the parent .

TabForeColor

: Returns or sets the text color of the tab button.

Text

: Returns or sets the text to display on the tab.

ToolTipText

: Returns or sets the ToolTip text for this tab.

UseMnemonic

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

Visible

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

Methods

GetTabPageOfComponent(control)

Retrieves the tab page that contains the specified .

Parameter
Type
Description

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

GetTabRect()

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

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

Update()

Overridden to update the parent TabControl when in design mode.

Events

TextChanged

Fired when the value of the property changes.

Implements

Name
Description

text

String

The text for the tab.

control

Control

The Control to look for.

IBindableComponent

Bindable components implement this interface.

IWisejComponent

All wisej components implement this interface.

IWisejControl

All wisej controls derived from the Control class must implement this interface.

IWisejSerializable

Allows an object to serialize itself.

Panel
TabPage
TabControl
Public Class TabPage
    Inherits Panel
TabPage
TabPage
Boolean
CharacterCasing
Boolean
TabPage
TabControl
Int32
ImageList
TabControl
ArgumentOutOfRangeException
String
ImageList
TabControl
Boolean
Boolean
Color
TabPage
TabControl
TabControl
Color
TabPage
String
String
Boolean
Boolean
Control
TabPage
TabPage
Control
Rectangle
Rectangle
EventHandler
Text
public class TabPage : Panel