Tab(String, String, String, String, String) Constructor

Initializes a new instance of the Tab class with the specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public Tab(
    string text,
    string name,
    string imageUrl,
    string navigateUrl,
    string target
)
Public Sub New(
    text As String,
    name As String,
    imageUrl As String,
    navigateUrl As String,
    target As String
)

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 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.

navigateUrl String

A String value specifying the URL to which the browser navigates when the tab is clicked. Initializes the tab's Tab.NavigateUrl property.

target String

A String value which identifies the window or frame at which to target URL content when the tab is clicked. Initializes the tab's Tab.Target property.

Remarks

Use this constructor to initialize a new instance of a Tab class using the settings passed via the parameters.

See Also