Skip to main content

CurrentDateTimeStripLine Class

Represents a strip line that indicates the current time (DateTime.Now), and automatically updates its position onscreen.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v22.2.dll

NuGet Package: DevExpress.Wpf.Gantt


public sealed class CurrentDateTimeStripLine :


How to Use

Use the GanttView.StripLines property to populate a collection of strip lines displayed within the Gantt area.

<Window ...
    xmlns:dxgn="" />

<dxgn:GanttControl ItemsSource="{Binding Tasks}" >
            x:Name="view" ... >
                <dxgn:CurrentDateTimeStripLine />

wpf Gantt strip lines today line

The Strip Lines (Time Indicators) document describes how to load strip lines from a ViewModel.


The following properties does not affect the CurrentDateTimeStripLine:

See Also