Skip to main content
All docs
V20.1

StripLineCollection.ShowCurrentDateTime Property

Specifies whether to highlight the current time.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

public bool ShowCurrentDateTime { get; set; }

Property Value

Type Description
Boolean

true, to highlight the current time; otherwise, false.

Remarks

Declaratively:

<dx:ASPxGantt ID="Gantt" runat="server"...>
    ...
    <SettingsStripLine ShowCurrentTime="true" CurrentTimeUpdateInterval="5" />
</dx:ASPxGantt>

In code:

Gantt.SettingsStripLine.ShowCurrentTime = true; 
Gantt.SettingsStripLine.CurrentTimeUpdateInterval = "5"; 

Examples

Online Demo

Gantt - Strip Lines

See Also