Back to Devexpress

CustomDrawTimelineTaskEventArgs.DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Method

windowsforms-devexpress-dot-xtragantt-dot-customdrawtimelinetaskeventargs-dot-drawhtml-x28-devexpress-dot-utils-dot-html-dot-htmltemplate-system-dot-action-devexpress-dot-utils-dot-html-dot-dxhtmlpainterargs-x29.md

latest2.0 KB
Original Source

CustomDrawTimelineTaskEventArgs.DrawHtml(HtmlTemplate, Action<DxHtmlPainterArgs>) Method

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

Namespace : DevExpress.XtraGantt

Assembly : DevExpress.XtraGantt.v25.2.dll

NuGet Package : DevExpress.Win.Gantt

Declaration

csharp
public void DrawHtml(
    HtmlTemplate template,
    Action<DxHtmlPainterArgs> setupArgs = null
)
vb
Public Sub DrawHtml(
    template As HtmlTemplate,
    setupArgs As Action(Of DxHtmlPainterArgs) = Nothing
)

Parameters

NameTypeDescription
templateHtmlTemplate

A template to draw.

|

Optional Parameters

NameTypeDefaultDescription
setupArgsAction<DxHtmlPainterArgs>null

Sets up the DxHtmlPainterArgs object.

|

Remarks

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

See Also

CustomDrawTimelineTaskEventArgs Class

CustomDrawTimelineTaskEventArgs Members

DevExpress.XtraGantt Namespace