Table Class
Represents a worksheet table. Supported in XLSX only.
- Inheritance:
- System.ObjectTable
Properties
AlternativeText
Gets the table alternative text.
public TableAlternativeText AlternativeText { get; }
Public ReadOnly Property AlternativeText As TableAlternativeText
Property Value
The alternative text.
BuiltInStyle
Gets or sets the built-in style used in the body of the Table.
public BuiltInTableStyleName BuiltInStyle { get; set; }
Public Property BuiltInStyle As BuiltInTableStyleName
Property Value
The built-in style used in the body of the Table.
Columns
Gets the collection of table columns.
public TableColumnCollection Columns { get; }
Public ReadOnly Property Columns As TableColumnCollection
Property Value
The collection of table columns.
DataRange
Gets the table data range.
Property Value
Remarks
Property returns table range without header row and, if enabled, totals row.
Filter
Gets or sets the table filter. Returns null if no AutoFilter is active.
Property Value
The table filter.
HasHeaderRow
Gets if table has header row or not
Property Value
- System.Boolean
True
if this table has header row; otherwise, false
HasTotalsRow
Gets or sets a value indicating whether this table has a totals row.
Property Value
- System.Boolean
True
if this table has totals row; otherwise, false
.
Name
Gets the table name.
Property Value
- System.String
The table name.
Range
Gets the table range.
Property Value
Remarks
Property returns complete table range which includes header row and, if enabled, totals row.
Rows
Gets the collection of table rows.
Property Value
The collection of table rows.
Sort
Gets the table sort.
Property Value
The table sort.
StyleOptions
Gets or sets the options to be applied to the Table style.
public TableStyleOptions StyleOptions { get; set; }
Public Property StyleOptions As TableStyleOptions
Property Value
The options to be applied to the Table style.
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this Table instance.
public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
- System.Object
The System.Object to compare with this Table instance.
Returns
- System.Boolean
Overrides
GetHashCode()
Returns a hash code for this Table instance.
Returns
- System.Int32
An integer value that specifies a hash value for this Table instance.
Overrides
ToString()
Returns a System.String that represents this Table instance.
Returns
- System.String
A System.String that represents this Table instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).