Skip to main content
A newer version of this page is available. .

GanttStripLineSettings.StripLines Property

Provides access to the strip line collection.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

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