Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V20.1
  • GanttStripLineSettings.CurrentTimeCssClass Property

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

    Namespace: DevExpress.Web.ASPxGantt

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

    NuGet Package: DevExpress.Web

    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:

    Object Type Path to CurrentTimeCssClass
    ASPxGantt
    .SettingsStripLine .CurrentTimeCssClass
    GanttSettings
    .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.

    Declaratively:

    <dx:ASPxGantt ID="Gantt" runat="server"...>
        ...
        <SettingsStripLine ShowCurrentTime="true" CurrentTimeUpdateInterval="5" CurrentTimeCssClass="my_class" />
    </dx:ASPxGantt>
    

    In code:

    Gantt.SettingsStripLine.ShowCurrentTime = true; 
    Gantt.SettingsStripLine.CurrentTimeUpdateInterval = "5"; 
    Gantt.SettingsStripLine.CurrentTimeCssClass = "my_class"; 
    

    Examples

    Online Demos

    See Also