XRRichText.Html Property

Bindable. Used to supply HTML content to a XRRichText control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll


public string Html { get; set; }
Public Property Html As String

Property Value

Type Default Description


Always empty string.



The Html property is bindable, which means that it can be bound to a data field in a report's data source. To learn more, see the Binding Report Controls to Data section.

This property always is intended to support one-way data binding only and always returns an empty string value.

The Html property is hidden from the Properties window (i.e., you cannot simply load static HTML content into this control at design time), but is available for data binding. You can select the XRRichText control at design time, and locate the (DataBindings).Html.Binding property in the Properties window, illustrated in the following image.


For more information on using this property, see Rich Text.

To learn which HTML tags and attributes the XRRichText control interprets, see HTML Tag Support.

See Also