TabPageCollection.Add(String, String, String) Method
Adds a new tab page to the collection and specifies the page’s display text, name and associated image.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
NuGet Package: DevExpress.Web
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| text | String | A String value specifying the tab page’s display text. Initializes the tab page’s TabBase.Text property. |
| name | String | A String value specifying the name which indentifies the created item. Initializes the tab page’s TabBase.Name property. |
| imageUrl | String | A String value specifying the path to the image displayed by the tab page. Initializes the ImagePropertiesBase.Url property of the tab page’s TabBase.TabImage. |
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 settings to the TabPageCollection object.