Back to Devexpress

CustomDrawTimelineTaskEventArgs Members

windowsforms-devexpress-dot-xtragantt-dot-customdrawtimelinetaskeventargs-dot-underscore-members.md

latest5.3 KB
Original Source

CustomDrawTimelineTaskEventArgs Members

Contains data for the CustomDrawTimelineTask event.

Constructors

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

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
AppearanceGets the appearance settings of a task.
CacheProvides access to the drawing surface and a cache of brushes, pens, fonts, and other graphics. Inherited from CustomDrawEventArgs.
HandledGets 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.
NodeGets the node that corresponds to the task displayed on the timeline.
TaskGets view information about the task displayed on the timeline.
TaskType

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

CustomDrawTimelineTaskEventArgs Class

DevExpress.XtraGantt Namespace