Skip to main content

Tab(String, String, String, String) Constructor

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

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 path to the image displayed by the tab. Initializes the ImagePropertiesBase.Url property of the tab’s TabBase.TabImage.

imageUrl String

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

navigateUrl 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