Back to Devexpress

GanttStripLineSettings.CurrentTimeUpdateInterval Property

aspnet-devexpress-dot-web-dot-aspxgantt-dot-ganttstriplinesettings-5b4cc958.md

latest3.3 KB
Original Source

GanttStripLineSettings.CurrentTimeUpdateInterval Property

Specifies the time interval between the current time updates.

Namespace : DevExpress.Web.ASPxGantt

Assembly : DevExpress.Web.ASPxGantt.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(60000)]
public int CurrentTimeUpdateInterval { get; set; }
vb
<DefaultValue(60000)>
Public Property CurrentTimeUpdateInterval As Integer

Property Value

TypeDefaultDescription
Int3260000

The time interval.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to CurrentTimeUpdateInterval
ASP.NET MVC ExtensionsGanttSettings

.SettingsStripLine .CurrentTimeUpdateInterval

| | ASP.NET Web Forms Controls | ASPxGantt |

.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.

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

Web Forms:

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

MVC:

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

Examples

See Also

ASPxGantt - 'How To' Examples

GanttStripLineSettings Class

GanttStripLineSettings Members

DevExpress.Web.ASPxGantt Namespace