CustomDrawTimelineTaskEventArgs.DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>) Method
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.
Namespace: DevExpress.XtraGantt
Assembly: DevExpress.XtraGantt.v24.1.dll
NuGet Package: DevExpress.Win.Gantt
Declaration
public void DrawHtml(
HtmlTemplate template,
DxHtmlPainterContext context,
Action<DxHtmlPainterArgs> setupArgs = null
)
Parameters
Name | Type | Description |
---|---|---|
template | HtmlTemplate | A template to draw. |
context | DxHtmlPainterContext | An object that transfers mouse events from a control to a template instance. This allows you to switch visual states (regular, hovered, pressed) of template elements. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
setupArgs | Action<DxHtmlPainterArgs> | null | Sets up the |
Remarks
Read the following topic for detailed information and examples: Custom Draw Templates.
See Also