Class TableAccessibilitySettings
This class controls how accessibility attributes will be set in the exported html.
Inherited Members
Namespace: OfficeOpenXml.Export.HtmlExport.Accessibility
Assembly: EPPlus.dll
Syntax
public class TableAccessibilitySettings
Properties
AddAccessibilityAttributes
Controls whether accessibility attributes will be added to the html.
Declaration
public bool AddAccessibilityAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
AriaDescribedBy
Value of the aria-describedby attribute
Declaration
public string AriaDescribedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AriaLabel
Value of the aria-label attribute
Declaration
public string AriaLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AriaLabelledBy
Value of the aria-labelledby attribute
Declaration
public string AriaLabelledBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TableHeaderCellRole
Value of the role attribute on the thead.tr.td element. Default value: columnheader
Declaration
public string TableHeaderCellRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TableRole
Value of the role attribute on the table element. Default value: table
Declaration
public string TableRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TbodyRole
Value of the role attribute on the tbody element. Default value: rowgroup
Declaration
public string TbodyRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TfootRole
Value of the role attribute on the tfoot element. Default value: rowgroup
Declaration
public string TfootRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TheadRole
Value of the role attribute on the thead element. Default value: rowgroup
Declaration
public string TheadRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Copy(TableAccessibilitySettings)
Copies all properties from one instance to another.
Declaration
public void Copy(TableAccessibilitySettings copy)
Parameters
| Type | Name | Description |
|---|---|---|
| TableAccessibilitySettings | copy |
ResetToDefault()
Reset all properties to their default value
Declaration
public void ResetToDefault()