GanttStripLineSettings.StripLines Property
Provides access to the strip line collection.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v20.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
StripLineCollection | *null* | The collection of strip lines. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to StripLines |
---|---|
ASPxGantt |
|
GanttSettings |
|
MVCxGantt |
|
Remarks
Use the StripLines property to access strip lines.
Declaratively:
<dx:ASPxGantt ID="Gantt" runat="server"...>
...
<SettingsStripLine>
<StripLines>
...
<StripLines>
</SettingsStripLine>
</dx:ASPxGantt>
In code:
StripLine startLine = new StripLine();
startLine.Title = "Start Time";
startLine.Start = new DateTime(2019, 02, 21, 08, 00, 00);
Gantt.SettingsStripLine.StripLines.Add(startLine);
Examples
Online Demos
See Also