Skip to main content
A newer version of this page is available. .
Tab

ImageZoomNavigatorItemCollection.Add() Method

Adds a new item with the default settings to the end of the collection and returns the newly created object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public ImageZoomNavigatorItem Add()

Returns

Type Description
ImageZoomNavigatorItem

An ImageZoomNavigatorItem object that is the newly created item.

Remarks

@Html.DevExpress().ImageZoomNavigator(settings => {
settings.Name = "zoomNavigator";
...
settings.Items.Add(new ImageZoomNavigatorItem("~/Content/ImageZoom/overview_151233002.jpg", 
    "~/Content/ImageZoom/shoes/02_155325104.jpg"));
...
}).GetHtml()
See Also