Class ExcelQueryTable¶
Namespace: OfficeOpenXml.Data.QueryTable
Assembly: EPPlus.dll
A Query Table connected to an ExcelTable object.
Inheritance¶
object ← DocumentPart<ExcelQueryTable> ← ExcelQueryTable
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
AdjustColumnWidth¶
Specifies whether to automatically adjust column widths on refresh to fit the data retrieved. true if column widths should be adjusted.
Property Value¶
ApplyAlignmentFormats¶
If true, apply legacy table autoformat alignment properties. The possible values for this attribute are defined by the W3C XML Schema boolean datatype.
Property Value¶
bool?
ApplyBorderFormats¶
If true, apply legacy table autoformat border properties.
Property Value¶
bool?
ApplyFontFormats¶
If true, apply legacy table autoformat font properties.
Property Value¶
bool?
ApplyNumberFormats¶
If true, apply legacy table autoformat number format properties.
Property Value¶
bool?
ApplyPatternFormats¶
If true, apply legacy table autoformat pattern properties.
Property Value¶
bool?
ApplyWidthHeightFormats¶
If true, apply legacy table autoformat width/height properties.
Property Value¶
bool?
AutoFormatId¶
Identifies which legacy table autoformat to apply.
Property Value¶
int?
BackgroundRefresh¶
Specifies whether the query table shall try to refresh data in the background.
Property Value¶
bool?
Connection¶
The connection used for the query table.
Property Value¶
DeletedFields¶
A collection of deleted fields from the query table.
Property Value¶
DestinationRange¶
The destination range for the query table.
Property Value¶
DisableEdit¶
Specifies whether the connection used with this query table shall be editable. If true, then the connection is not editable.
Property Value¶
DisableRefresh¶
Specifies whether the query table shall be refreshable. If true, then the query table is not refreshable.
Property Value¶
Fields¶
The fields mapping to the column in the table.
Property Value¶
EPPlusReadOnlyList<ExcelQueryTableField>
FillFormulas¶
Specifies whether formulas in columns adjacent to the query table should be filled down when refreshed.
Property Value¶
FirstBackgroundRefresh¶
Specifies whether the first background data refresh has completed. If true, the very first background refresh had not completed when the file was saved.
Property Value¶
bool?
GrowShrinkType¶
Specifies how to handle variable numbers of rows between refresh operations.
Property Value¶
Headers¶
Specifies whether the query table has a first row with column titles.
Property Value¶
Intermediate¶
Specifies whether this query table is in an intermediate state.
Property Value¶
Name¶
Specifies the name of the query table. Reqired.
Property Value¶
PreserveFormatting¶
Specifies whether formatting in the query table should be preserved and copied to new rows.
Property Value¶
RefreshOnLoad¶
Specifies whether the query table shall refresh automatically when the document is loaded.
Property Value¶
RemoveDataOnSave¶
Specifies whether all data shall be removed before saving the document.
Property Value¶
bool?
RowNumbers¶
Specifies whether the query table shall include a first column of row numbers.