TabCollection.Add(String, String, String) Method

Adds a new tab to the collection and specifies the tab's display text, name and associated image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll


public Tab Add(
    string text,
    string name,
    string imageUrl
Public Function Add(
    text As String,
    name As String,
    imageUrl As String
) As Tab


Name Type Description
text String

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

name String

A String value specifying the name which indentifies the created tab. Initializes the tab's TabBase.Name property.

imageUrl String

A String value specifying the path to the image displayed by the tab. Initializes the ImagePropertiesBase.Url property of the tab's TabBase.TabImage.


Type Description

A Tab object representing the newly created tab.


Use the Add method to add a new tab with the specified settings to the TabCollection object.

See Also