MenuExtensionBase.BindToXML(String, String) Method
In This Article
Binds a menu to the XML file specified by its name and an XPath expression.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MenuExtensionBase BindToXML(
string fileName,
string xPath
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A string specifying the file name. |
x |
String | A string value specifying the XPath expression. |
#Returns
Type | Description |
---|---|
Menu |
A Menu |
#Remarks
Note
The file
BindToXML(HttpContext.Current.Server.MapPath("~/App_Data/MyDataFile.xml"), "/Root/*", "transformFileName")
See Also