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.DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Method

Draws the specified HTML template inside the task displayed on the timeline.

Namespace: DevExpress.XtraGantt

Assembly: DevExpress.XtraGantt.v24.2.dll

NuGet Package: DevExpress.Win.Gantt

#Declaration

public void DrawHtml(
    HtmlTemplate template,
    Action<DxHtmlPainterArgs> setupArgs = null
)

#Parameters

Name Type Description
template HtmlTemplate

A template to draw.

#Optional Parameters

Name Type Default Description
setupArgs Action<DxHtmlPainterArgs> null

Sets up the DxHtmlPainterArgs object.

#Remarks

Read the following topic for detailed information and examples: Custom Draw Templates.

See Also