GanttStripLineSettings.CurrentTimeUpdateInterval Property
Specifies the time interval between the current time updates.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#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 Current |
---|---|---|
ASP. |
Gantt |
|
ASP. |
ASPx |
|
#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.
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;