DiagramZoomLevelBuilder.Items(IEnumerable<Double>) Method
An array that specifies the zoom level items in the Zoom Level combobox on 'Properties' panel. Mirrors the client-side items option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public DiagramZoomLevelBuilder Items(
IEnumerable<double> value
)
Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable<Double> | The option value. |
Returns
Type | Description |
---|---|
DiagramZoomLevelBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Diagram()
.ZoomLevel(level => level
.Items(new double[] { 10, 20 })
)
)
See Also