Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

public Tab(
    string text,
    string name,
    string imageUrl,
    string navigateUrl,
    string target
)

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