ListObjectModel
Overview
ListObjectModel is a class in Aspose.Cells FOSS for .NET.
Represents the internal model for an Excel table (ListObject). StartRow/StartColumn/EndRow/EndColumn are zero-based inclusive bounds covering the full table range including header and totals rows.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
DisplayName | string | Read/Write | Gets or sets the user‑friendly name displayed for the list |
Name | string | Read/Write | Gets or sets the internal identifier of the list |
Comment | string | Read/Write | Gets or sets an optional comment associated with the list |
StartRow | int | Read/Write | Gets or sets the zero‑based index of the first row of the list range |
StartColumn | int | Read/Write | |
EndRow | int | Read/Write | |
EndColumn | int | Read/Write | Gets or sets the zero‑based index of the last column of the list range |
ShowHeaderRow | bool | Read/Write | Indicates whether the list displays a header row |
ShowTotals | bool | Read/Write | Indicates whether the list includes a totals row |
HasAutoFilter | bool | Read/Write | Indicates whether auto‑filter is enabled for the list |
TableStyleName | string | Read/Write | Gets or sets the name of the applied table style |
ShowFirstColumn | bool | Read/Write | Indicates whether the first column is highlighted |
ShowLastColumn | bool | Read/Write | Indicates whether the last column is highlighted |
ShowRowStripes | bool | Read/Write | Indicates whether rows are displayed with alternating shading |
ShowColumnStripes | bool | Read/Write | Indicates whether columns are displayed with alternating shading |
Columns | List<ListColumnModel> | Read | Provides the collection of column definitions for the list |
Methods
| Signature | Description |
|---|---|
ListObjectModel() | Creates a new empty list object model instance |