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

GanttStripLineSettings.CurrentTimeUpdateInterval Property

Specifies the time interval between the current time updates.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(60000)]
public int CurrentTimeUpdateInterval { get; set; }

Property Value

Type Default Description
Int32 60000

The time interval.

Property Paths

You can access this nested property as listed below:

Object Type Path to CurrentTimeUpdateInterval
ASPxGantt
.SettingsStripLine .CurrentTimeUpdateInterval
GanttSettings
.SettingsStripLine .CurrentTimeUpdateInterval
MVCxGantt
.SettingsStripLine .CurrentTimeUpdateInterval

Remarks

Use the ShowCurrentTime property to highlight the current time in the Gantt chart. To rerender the strip line that highlights the current time and keep it relevant, use the CurrentTimeUpdateInterval property that specifies the time interval between the current time updates.

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 Demos

See Also