Back to Devexpress

StripLine.Title Property

aspnet-devexpress-dot-web-dot-aspxgantt-dot-stripline-f0fd4e50.md

latest2.5 KB
Original Source

StripLine.Title Property

Specifies a strip line’s title.

Namespace : DevExpress.Web.ASPxGantt

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

NuGet Package : DevExpress.Web

Declaration

csharp
public string Title { get; set; }
vb
Public Property Title As String

Property Value

TypeDescription
String

The title.

|

Remarks

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

Run Demo: ASPxGantt - Strip Lines Run Demo: MVCxGantt - Strip Lines

Web Forms:

aspx
<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsStripLine>
        <StripLines>
            <dx:StripLine Title="Start Time" Start="2019-02-21T08:00:00.000Z"/>
        <StripLines>
    </SettingsStripLine>
</dx:ASPxGantt>
csharp
StripLine startLine = new StripLine();
startLine.Title = "Start Time";
startLine.Start = new DateTime(2019, 02, 21, 08, 00, 00); 

Gantt.SettingsStripLine.StripLines.Add(startLine);

MVC:

cshtml
settings.SettingsStripLine.StripLines.Add(new StripLine() { 
    Title = "Start Time",
    Start = new DateTime(2019, 07, 02)     
});

Examples

See Also

ASPxGantt - 'How To' Examples

StripLine Class

StripLine Members

DevExpress.Web.ASPxGantt Namespace