Skip to main content

MenuExtensionBase.BindToSiteMap(String, Boolean) Method

Binds a menu to the sitemap file specified by its name, and specifies whether the starting node should be displayed.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MenuExtensionBase BindToSiteMap(
    string fileName,
    bool showStartingNode
)

Parameters

Name Type Description
fileName String

A string specifying the file name.

showStartingNode Boolean

true if the starting node should be displayed; otherwise, false.

Returns

Type Description
MenuExtensionBase

A MenuExtensionBase extension object.

See Also