Skip to main content

GanttStripLineSettings.CurrentTimeUpdateInterval Property

Specifies the time interval between the current time updates.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v24.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:

Library Object Type Path to CurrentTimeUpdateInterval
ASP.NET Web Forms Controls ASPxGantt
.SettingsStripLine .CurrentTimeUpdateInterval
ASP.NET MVC Extensions GanttSettings
.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.

Gantt - CurrentTimeUpdateInterval Property

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

Web Forms:

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

MVC:

settings.SettingsStripLine.ShowCurrentTime = true; 
settings.SettingsStripLine.CurrentTimeUpdateInterval = 5;

Examples

See Also