Tab

TabPageCollection.Add(String) Method

Adds a new tab page to the collection and specifies the tab page's display text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public TabPage Add(
    string text
)
Public Function Add(
    text As String
) As TabPage

Parameters

Name Type Description
text String

A String value specifying the tab page's display text. Initializes the tab page's TabBase.Text property.

Returns

Type Description
TabPage

A TabPage object representing the newly created tab page.

Remarks

Use the Add method to add a new tab page with the specified text to the TabPageCollection object.

See Also