aspnet-devexpress-dot-web-dot-aspxgantt-dot-stripline.md
Specifies the start point of a strip line.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
public DateTime Start { get; set; }
Public Property Start As Date
| Type | Description |
|---|---|
| DateTime |
The start point.
|
Use the Start property to specify an individual line or combine it with the End property setting to specify a time interval.
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)
});
See Also