A newer version of this page is available. Switch to the current version.

TreeListExtension.BindToSiteMap(String, Boolean) Method

Binds the TreeList to a SiteMap data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public TreeListExtension BindToSiteMap(
    string fileName,
    bool showStartingNode
)
Public Function BindToSiteMap(
    fileName As String,
    showStartingNode As Boolean
) As TreeListExtension

Parameters

Name Type Description
fileName String

A string specifying the file name.

showStartingNode Boolean

A boolean value specifying whether to show a starting node

Returns

Type Description
TreeListExtension

An extension object.

See Also