Skip to main content

StripLine.Title Property

Specifies a strip line’s title.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public string Title { get; set; }

Property Value

Type Description
String

The title.

Remarks

The ASPxGantt control displays the title when users hover a strip line.

Gantt - Create Strip Line

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)     
});

Examples

See Also