XRTableRow.AccessibleRole Property
Specifies the role of XRTableRow
in the exported PDF document. This value is used by assistive technologies.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
Type | Description |
---|---|
XRAccessibleRole | The value that defines the |
Remarks
You can specify how XRTableRow
should be treated by screen readers in the exported PDF document.
Before you export a report, set the XRTable
‘s AccessibleRole
property to Table
to define a control as a table. Then, specify XRTableRow.AccessibleRole
:
Set the PdfExportOptions.PdfUACompatibility property to PdfUA1
to conform the exported PDF document to PDF/UA specification. Then, export the report to PDF format.
The image below shows the result. XRTableRow.AccessibleRole
is set to TableHeaderRow
, and the screen reader treats XRTableRow
as a header row of the table in the exported document: