ImageZoomNavigatorExtension.BindToXML(String, String, String) Method
In This Article
Binds the ImageZoomNavigator to the XML file specified by its name, XPath expression and transformation file name.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A string specifying the file name. |
x |
String | A string specifying the XPath expression. |
transform |
String |
#Returns
Type | Description |
---|---|
Image |
An extension object. |
#Remarks
Note
The file
BindToXML(HttpContext.Current.Server.MapPath("~/App_Data/MyDataFile.xml"), "/Root/*", "transformFileName")
<?xml version="1.0"?>
<items>
<item Id="1" ImageUrl="_url_" LargeImageUrl="_url_" ThumbnailUrl="_url_" ZoomWindowText="_text_" ExpandWindowText="_text_" />
<item Id="2" ... />
...
</items>
See Also