GanttStripLineSettings.CurrentTimeCssClass Property
In This Article
Specifies the CSS class that stores appearance settings to highlight the current time.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
The CSS class name. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Current |
---|---|---|
ASP. |
Gantt |
|
ASP. |
ASPx |
|
#Remarks
Use the CurrentTimeCssClass property to specify custom appearance settings for a strip line that highlights the current time in the Gantt chart.
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