Skip to main content
A newer version of this page is available. .

HtmlEventArgs Class

Provides data for the XRControl.HtmlItemCreated event.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public class HtmlEventArgs :
    EventArgs

Remarks

The XRControl.HtmlItemCreated event occurs when a new item used for Web representation of a control is created. An HtmlEventArgs class introduces the HtmlEventArgs.Brick property, which provides access to the VisualBrick, containing information about this control on a report page. Note that if this control is rendered several times in the document (e.g. if the control is bound to data), then this property returns a brick which corresponds to a particular rendering for this control.

Also, the HtmlEventArgs class introduces the HtmlEventArgs.ContentCell property, which returns a DevExpress.XtraPrinting.HtmlExport.Controls.DXHtmlContainerControl object, used for a Web representation of a control.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HtmlEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
EventArgs
HtmlEventArgs
See Also