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

XRRichText.Html Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

[Browsable(false)]
[DefaultValue("")]
public string Html { get; set; }

Property Value

Type Default Description
String String.Empty

Always empty string.

Remarks

Note

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.

XRRichText_1

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