Skip to main content
All docs
V23.2

CustomDrawTimelineTaskEventArgs Members

Contains data for the CustomDrawTimelineTask event.

Constructors

Name Description
CustomDrawTimelineTaskEventArgs(GraphicsCache, GanttTimelineItemInfo, GanttTimelinePainter, GanttTimelineViewInfo) Initializes a new instance of the CustomDrawTimelineTaskEventArgs class with specified settings.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Appearance Gets the appearance settings of a task.
Cache Provides access to the drawing surface and a cache of brushes, pens, fonts, and other graphics. Inherited from CustomDrawEventArgs.
Handled Gets or sets whether the event is handled and allows you to prevent the control from drawing the visual element in its default appearance. Inherited from CustomDrawEventArgs.
Node Gets the node that corresponds to the task displayed on the timeline.
Task Gets view information about the task displayed on the timeline.
TaskType

Methods

Name Description
DefaultDraw() Draws the task in its default appearance.
DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>) Draws the specified HTML template inside the task displayed on the timeline. The context parameter allows you to assign an object that transfers mouse events to template elements.
DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Draws the specified HTML template inside the task displayed on the timeline.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also