StripLine.Start Property
Specifies the start point of a strip line.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Description |
---|---|
Date |
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.
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)
});