All docs
V21.1
21.2 (EAP/Beta)
21.1
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.CurrentTimeCssClass Property

Specifies the CSS class that stores appearance settings to highlight the current time.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

[DefaultValue("")]
public string CurrentTimeCssClass { get; set; }

Property Value

Type Default Description
String

String.Empty

The CSS class name.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CurrentTimeCssClass
ASP.NET MVC Extensions GanttSettings
.SettingsStripLine.CurrentTimeCssClass
MVCxGantt
.SettingsStripLine.CurrentTimeCssClass
ASP.NET Web Forms Controls ASPxGantt
.SettingsStripLine.CurrentTimeCssClass

Remarks

Use the CurrentTimeCssClass property to specify custom appearance settings for a strip line that highlights the current time in the Gantt chart.

Gantt - CurrentTimeCssClass Property

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

Web Forms:

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

MVC:

settings.SettingsStripLine.ShowCurrentTime = true; 
settings.SettingsStripLine.CurrentTimeCssClass = "class_1";

Examples

See Also