All docs
V20.2
21.1 (EAP/Beta)
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttStripLineSettings.ShowCurrentTime Property

Specifies whether to highlight the current time in the Gantt control.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(false)]
public bool ShowCurrentTime { get; set; }

Property Value

Type Default Description
Boolean

false

true, to highlight the current time; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowCurrentTime
ASP.NET Controls and MVC Extensions ASPxGantt
.SettingsStripLine.ShowCurrentTime
ASP.NET MVC Extensions GanttSettings
.SettingsStripLine.ShowCurrentTime
MVCxGantt
.SettingsStripLine.ShowCurrentTime

Remarks

Set the ShowCurrentTime property to true to highlight the current time and use the CurrentTimeUpdateInterval property to specify 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