TileCustomDrawEventArgs.DrawHtml(HtmlTemplate, DxHtmlPainterContext, Action<DxHtmlPainterArgs>) Method
In This Article
Paints the specified HTML template inside the processed tile element. The context
parameter allows you to assign an object that transfers mouse events to template elements.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public void DrawHtml(
HtmlTemplate template,
DxHtmlPainterContext context,
Action<DxHtmlPainterArgs> setupArgs = null
)
#Parameters
Name | Type | Description |
---|---|---|
template | Html |
A template to draw. |
context | Dx |
The object that transfers mouse events from a control to a template instance. This allows you to switch visual states (regular, hovered, pressed, and others) of template elements. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
setup |
Action<Dx |
null | Sets up properties of the Dx |
#Remarks
Refer to the following help topic for more information: Custom Draw Templates.
See Also