# ExcelTableScope

Edits one ExcelTable: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

sealed

Edits one [ExcelTable](/api/excel/officeimo-excel-exceltable/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- ExcelTableScope

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Method [ExcelTableScope.Sheet](/api/excel/officeimo-excel-exceltablescope/#method-sheet-action-officeimo-excel-excelsheet)
- Method [ExcelTableScope.Style](/api/excel/officeimo-excel-exceltablescope/#method-style-officeimo-excel-exceltablestyle-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean)
- Method [ExcelTableScope.Totals](/api/excel/officeimo-excel-exceltablescope/#method-totals-collections-generic-idictionary-system-string-officeimo-excel-exceltabletotalsfunction)

### Accepted by parameters 2

- Method [ExcelSheetScope.Table](/api/excel/officeimo-excel-excelsheetscope/#method-table-string-boolean-string-officeimo-excel-exceltablestyle-boolean-officeimo-excel-exceltablenamevalidationmode-action-officeimo-excel-exceltablescope) parameter `configure`
- Method [ExcelSheetScope.Table``1](/api/excel/officeimo-excel-excelsheetscope/#method-table-collections-generic-ienumerable-officeimo-officetableoptions-int32-int32-action-officeimo-excel-exceltablescope) parameter `configure`

Filter members 

Show inherited

## Methods

`public ExcelTableScope Sheet(Action<ExcelSheet> configure)` [#](#method-sheet-action-officeimo-excel-excelsheet)

Configures [ExcelTable.Sheet](/api/excel/officeimo-excel-exceltable/) in place: Gets the worksheet that owns the table.

Parameters

**configure System.Action<OfficeIMO.Excel.ExcelSheet> required**

Configures the value.

Returns

`ExcelTableScope` The same scope.

`public ExcelTableScope Style(ExcelTableStyle style, bool? showFirstColumn = null, bool? showLastColumn = null, bool? showRowStripes = null, bool? showColumnStripes = null)` [#](#method-style-officeimo-excel-exceltablestyle-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean)

Applies a built-in table style and optional style flags.

Parameters

**style OfficeIMO.Excel.ExcelTableStyle required**

The value.

**showFirstColumn bool? = null optional**

The value.

**showLastColumn bool? = null optional**

The value.

**showRowStripes bool? = null optional**

The value.

**showColumnStripes bool? = null optional**

The value.

Returns

`ExcelTableScope` The same scope.

`public ExcelTableScope Totals(IDictionary<string, ExcelTableTotalsFunction> byHeader)` [#](#method-totals-collections-generic-idictionary-system-string-officeimo-excel-exceltabletotalsfunction)

Applies totals row functions by header name.

Parameters

**byHeader System.Collections.Generic.IDictionary<string, OfficeIMO.Excel.ExcelTableTotalsFunction> required**

The value.

Returns

`ExcelTableScope` The same scope.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ExcelTable Model { get; }` [#](#property-model)

The [ExcelTable](/api/excel/officeimo-excel-exceltable/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:CDC4871FBD1BE5D03C8BF58FB66C1E1A7F9BAD63EF44A3A3F1945EDE909A4834 -->
