TabCollection.Add(String, String) Method
Adds a new tab to the collection and specifies the tab's display text and name.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
Declaration
public Tab Add(
string text,
string name
)
Public Function Add(
text As String,
name As String
) As Tab
Parameters
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 item. Initializes the tab's TabBase.Name property. |
Returns
Type | Description |
---|---|
Tab | A Tab object representing the newly created tab. |
Remarks
Use the Add method to add a new tab with the specified settings to the TabCollection object.
See Also
Feedback