Skip to main content
All docs
V24.2

GanttScaleTypeRangeBuilder.Max(GanttScaleType) Method

Mirrors the client-side end option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public GanttScaleTypeRangeBuilder Max(
    GanttScaleType value
)

Parameters

Name Type Description
value GanttScaleType

The option value.

Returns

Type Description
GanttScaleTypeRangeBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Gantt()
    .ScaleTypeRange(range => range
        .Max(GanttScaleType.Auto)
    )
)
See Also