Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GanttStripLineBuilder.End(JS) Method

Specifies the end point of the strip line. Mirrors the client-side end option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
public GanttStripLineBuilder End(
    JS value
)

#Parameters

Name Type Description
value JS

The end point.

#Returns

Type Description
GanttStripLineBuilder

A reference to this instance after the method is called.

#Remarks

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

@(Html.DevExtreme().Gantt()
    .StripLines(stripLines => 
        stripLines.Add()
            .Start(new DateTime(DateTime.Now)
            .Title("CurrentTime");
        stripLines.Add()
            .Start(new Date(1920, 9, 10))
            .End(new Date(1920, 11, 1))
            .Title("Final Stage");
        // ...
    )
)
See Also