All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttStripLineSettings.StripLines Property

Provides access to the strip line collection.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(null)]
public StripLineCollection StripLines { get; }

Property Value

Type Default Description
StripLineCollection

null

The collection of strip lines.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to StripLines
ASP.NET Controls and MVC Extensions ASPxGantt
.SettingsStripLine.StripLines
ASP.NET MVC Extensions GanttSettings
.SettingsStripLine.StripLines
MVCxGantt
.SettingsStripLine.StripLines

Remarks

Use the StripLines property to access strip lines.

Gantt - Create Strip Line

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