Skip to main content

MVCxTreeViewNode(String, String, String, String, String) Constructor

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

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

Parameters

Name Type Description
text String

A String value specifying the node’s display text. This value is assigned to the TreeViewNode.Text property.

name String

A String value specifying the name which identifies the created node. This value is assigned to the TreeViewNode.Name property.

imageUrl String

A String value specifying the path to the node image. This value is assigned to the ImagePropertiesBase.Url property.

navigateUrl String

A String value specifying the URL to which the browser navigates when the node is clicked. This value is assigned to the TreeViewNode.NavigateUrl property.

target String

A String value which identifies the window or frame to which to target URL content when the node is clicked. This value is assigned to the TreeViewNode.Target property.

See Also