aspnet-devexpress-dot-web-dot-aspxgantt-dot-ganttstriplinesettings-5b4cc958.md
Specifies the time interval between the current time updates.
Namespace : DevExpress.Web.ASPxGantt
Assembly : DevExpress.Web.ASPxGantt.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(60000)]
public int CurrentTimeUpdateInterval { get; set; }
<DefaultValue(60000)>
Public Property CurrentTimeUpdateInterval As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 60000 |
The time interval.
|
You can access this nested property as listed below:
| Library | Object Type | Path to CurrentTimeUpdateInterval |
|---|---|---|
| ASP.NET MVC Extensions | GanttSettings |
.SettingsStripLine .CurrentTimeUpdateInterval
| | ASP.NET Web Forms Controls | ASPxGantt |
.SettingsStripLine .CurrentTimeUpdateInterval
|
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.
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;
See Also