Skip to main content

CustomDrawTaskEventArgs Members

Provides data for the GanttControl.CustomDrawTask event.

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 Provides access to the task’s appearance settings.
Cache Provides access to the drawing surface and a cache of brushes, pens, fonts, and other graphics. Inherited from CustomDrawEventArgs.
Duration Gets the task duration.
FinishDate Gets the task finish date.
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.
Info Provides access to view information about the task.
Node Gets the processed node.
Progress Gets the task progress.
StartDate Gets the task start date.
State Gets the object state: normal, hot tracked, pressed, disabled, or selected.

Methods

Name Description
DefaultDraw() Draws the visual element in its default appearance. Inherited from CustomDrawEventArgs.
DrawBaseline() Draws the baseline.
DrawBaseline(RectangleF) Draws the baseline in the specified bounds.
DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>) Paints the required HTML template inside an element that raised this event. The context parameter allows you to assign an object that transfers mouse events to template elements.
DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Paints the required HTML template inside an element that raised this event.
DrawInsideText() Draws the text inside the bar.
DrawLeftLinkPoint() Draws a dependency connection point at the left side of the task.
DrawLeftText() Draws the text to the left of the bar.
DrawLeftText(RectangleF) Draws the text to the left of the bar within the specified bounds.
DrawRightLinkPoint() Draws a dependency connection point at the right side of the task.
DrawRightText() Draws the text to the right of the bar.
DrawRightText(RectangleF) Draws the text to the left of the bar within the specified bounds.
DrawShape() Draws the task shape: bar, summary bar, or milestone.
DrawShape(DateTime, DateTime) Draws the task shape (bar, summary bar, or milestone) with an interruption.
DrawShape(RectangleF, Single) Draws the task shape: bar, summary bar, or milestone.
DrawSplit(RectangleF) Draws a task splitter.
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.
GetPosition(DateTime) Returns the horizontal position of the specified date on the timescale.
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