Skip to main content

StripLine.Start Property

Specifies the start point of a strip line.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public DateTime Start { get; set; }

Property Value

Type Description
DateTime

The start point.

Remarks

Use the Start property to specify an individual line or combine it with the End property setting to specify a time interval.

Gantt - Create Strip Line

Run Demo: ASPxGantt - Strip Lines Run Demo: MVCxGantt - Strip Lines

Web Forms:

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsStripLine>
        <StripLines>
            <dx:StripLine Title="Start Time" Start="2019-02-21T08:00:00.000Z"/>
        <StripLines>
    </SettingsStripLine>
</dx:ASPxGantt>
StripLine startLine = new StripLine();
startLine.Title = "Start Time";
startLine.Start = new DateTime(2019, 02, 21, 08, 00, 00); 

Gantt.SettingsStripLine.StripLines.Add(startLine);

MVC:

settings.SettingsStripLine.StripLines.Add(new StripLine() { 
    Title = "Start Time",
    Start = new DateTime(2019, 07, 02)     
});

Examples

See Also