Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawTimelineTaskEventArgs(GraphicsCache, GanttTimelineItemInfo, GanttTimelinePainter, GanttTimelineViewInfo) Constructor

In This Article

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

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.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