Class TableAccessibilitySettings
This class controls how accessibility attributes will be set in the exported html.
Inheritance
System.Object
TableAccessibilitySettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Boolean |
AriaDescribedBy
Value of the aria-describedby attribute
Declaration
public string AriaDescribedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AriaLabel
Value of the aria-label attribute
Declaration
public string AriaLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AriaLabelledBy
Value of the aria-labelledby attribute
Declaration
public string AriaLabelledBy { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
TableRole
Value of the role attribute on the table element. Default value: table
Declaration
public string TableRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TbodyRole
Value of the role attribute on the tbody element. Default value: rowgroup
Declaration
public string TbodyRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TfootRole
Value of the role attribute on the tfoot element. Default value: rowgroup
Declaration
public string TfootRole { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TheadRole
Value of the role attribute on the thead element. Default value: rowgroup
Declaration
public string TheadRole { get; set; }
Property Value
Type | Description |
---|---|
System.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()