Back to Devexpress

TreeListExtension.BindToSiteMap(String, Boolean) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-treelistextension-dot-bindtositemap-x28-system-dot-string-system-dot-boolean-x29.md

latest1.6 KB
Original Source

TreeListExtension.BindToSiteMap(String, Boolean) Method

Binds the TreeList to a SiteMap data source.

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Parameters

NameTypeDescription
fileNameString

A string specifying the file name.

| | showStartingNode | Boolean |

A boolean value specifying whether to show a starting node

|

Returns

TypeDescription
TreeListExtension

An extension object.

|

See Also

Tree List

TreeListExtension Class

TreeListExtension Members

DevExpress.Web.Mvc Namespace