Skip to main content
All docs
V25.1
  • CustomDrawTimelineTaskEventArgs(GraphicsCache, GanttTimelineItemInfo, GanttTimelinePainter, GanttTimelineViewInfo) Constructor

    Initializes a new instance of the CustomDrawTimelineTaskEventArgs class with specified settings.

    Namespace: DevExpress.XtraGantt

    Assembly: DevExpress.XtraGantt.v25.1.dll

    NuGet Package: DevExpress.Win.Gantt

    Declaration

    public CustomDrawTimelineTaskEventArgs(
        GraphicsCache cache,
        GanttTimelineItemInfo taskInfo,
        GanttTimelinePainter ganttRangeControlTimelinePainter,
        GanttTimelineViewInfo viewInfo
    )

    Parameters

    Name Type Description
    cache GraphicsCache

    A GraphicsCache object with brushes, pens, fonts, and other graphics.

    taskInfo DevExpress.XtraGantt.TimeLine.GanttTimelineItemInfo

    An object that contains view information about the task.

    ganttRangeControlTimelinePainter DevExpress.XtraGantt.TimeLine.GanttTimelinePainter

    The painter.

    viewInfo DevExpress.XtraGantt.TimeLine.GanttTimelineViewInfo

    An object that contains view information about the timeline.

    See Also