PopupMenuExtension.BindToSiteMap(String, Boolean) Method

Binds a PopupMenu 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.v20.2.dll

Declaration

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

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
PopupMenuExtension

A PopupMenuExtension extension object.

See Also