# OdtTableRow

An XML-backed ODT table row.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdtTable.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L124)

**Modifiers**

sealed

An XML-backed ODT table row.

## Inheritance

- object
- OdtTableRow

## Usage

Explore 2 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 2

- Method [OdtTable.AddRow](/api/open-document/officeimo-opendocument-odttable/#method-addrow-nullable-system-int32)
- Property [OdtTable.Rows](/api/open-document/officeimo-opendocument-odttable/#property-rows)

Filter members 

Show inherited

## Methods

`public OdtTableCell AddCell(string? text = null)` [#](#method-addcell-string)

[OdtTable.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L124)

Adds a cell.

Parameters

**text string? = null optional**

Returns

`OdtTableCell`

## 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 IReadOnlyList<OdtTableCell> Cells { get; }` [#](#property-cells)

[OdtTable.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtTable.cs#L111)

Cells, including covered cells, in source order.

<!-- PowerForge markdown artifact sha256:43C7EDF4EF28B3A4778E07D35C076C328364A78141A4C3599BA6A7FA570CD3CA -->
