# WordTableRowScope

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

sealed

Edits one [WordTableRow](/api/word/officeimo-word-wordtablerow/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- WordTableRowScope

## Usage

Explore 9 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 8

- Method [WordTableRowScope.AllowRowToBreakAcrossPages](/api/word/officeimo-word-wordtablerowscope/#method-allowrowtobreakacrosspages-boolean)
- Method [WordTableRowScope.Cell](/api/word/officeimo-word-wordtablerowscope/#method-cell-action-officeimo-word-wordtablecellscope)
- Method [WordTableRowScope.FirstCell](/api/word/officeimo-word-wordtablerowscope/#method-firstcell-action-officeimo-word-wordtablecell)
- Method [WordTableRowScope.Height](/api/word/officeimo-word-wordtablerowscope/#method-height-nullable-officeimo-officelength)
- Method [WordTableRowScope.LastCell](/api/word/officeimo-word-wordtablerowscope/#method-lastcell-action-officeimo-word-wordtablecell)
- Method [WordTableRowScope.MinimumHeight](/api/word/officeimo-word-wordtablerowscope/#method-minimumheight-nullable-officeimo-officelength)
- Method [WordTableRowScope.Parent](/api/word/officeimo-word-wordtablerowscope/#method-parent-action-officeimo-word-wordtable)
- Method [WordTableRowScope.RepeatHeaderRowAtTheTopOfEachPage](/api/word/officeimo-word-wordtablerowscope/#method-repeatheaderrowatthetopofeachpage-boolean)

### Accepted by parameters 1

- Method [WordTableScope.Row](/api/word/officeimo-word-wordtablescope/#method-row-int32-action-officeimo-word-wordtablerowscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public WordTableRowScope AllowRowToBreakAcrossPages(bool value = true)` [#](#method-allowrowtobreakacrosspages-boolean)

Sets [WordTableRow.AllowRowToBreakAcrossPages](/api/word/officeimo-word-wordtablerow/): Gets or sets a value indicating whether the row is allowed to break across pages. When set to false, the row is kept intact on a single page.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope Cell(Action<WordTableCellScope>? configure = null)` [#](#method-cell-action-officeimo-word-wordtablecellscope)

Creates and appends a cell, returning the attached cell for further editing.

Parameters

**configure System.Action<OfficeIMO.Word.WordTableCellScope>? = null optional**

Configures the new item through its scope.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope FirstCell(Action<WordTableCell> configure)` [#](#method-firstcell-action-officeimo-word-wordtablecell)

Configures [WordTableRow.FirstCell](/api/word/officeimo-word-wordtablerow/) in place: Return first cell for given row

Parameters

**configure System.Action<OfficeIMO.Word.WordTableCell> required**

Configures the value.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope Height(OfficeLength? value)` [#](#method-height-nullable-officeimo-officelength)

Sets [WordTableRow.Height](/api/word/officeimo-word-wordtablerow/): Gets the declared row height as a physical length, or sets an exact height. Null removes the height constraint.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope LastCell(Action<WordTableCell> configure)` [#](#method-lastcell-action-officeimo-word-wordtablecell)

Configures [WordTableRow.LastCell](/api/word/officeimo-word-wordtablerow/) in place: Return last cell for given row

Parameters

**configure System.Action<OfficeIMO.Word.WordTableCell> required**

Configures the value.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope MinimumHeight(OfficeLength? value)` [#](#method-minimumheight-nullable-officeimo-officelength)

Sets [WordTableRow.MinimumHeight](/api/word/officeimo-word-wordtablerow/): Gets or sets the minimum row height as a physical length, allowing the row to grow to fit content. Setting a value replaces an exact height. Null removes a minimum constraint and preserves an exact height.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope Parent(Action<WordTable> configure)` [#](#method-parent-action-officeimo-word-wordtable)

Configures [WordTableRow.Parent](/api/word/officeimo-word-wordtablerow/) in place: Gets the table that owns this row.

Parameters

**configure System.Action<OfficeIMO.Word.WordTable> required**

Configures the value.

Returns

`WordTableRowScope` The same scope.

`public WordTableRowScope RepeatHeaderRowAtTheTopOfEachPage(bool value = true)` [#](#method-repeatheaderrowatthetopofeachpage-boolean)

Sets [WordTableRow.RepeatHeaderRowAtTheTopOfEachPage](/api/word/officeimo-word-wordtablerow/): Gets or sets whether this table row should repeat at the top of each page. Word repeats contiguous header rows from the start of the table. Setting false explicitly overrides a repeating header inherited from a table style.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordTableRowScope` 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 WordTableRow Model { get; }` [#](#property-model)

The [WordTableRow](/api/word/officeimo-word-wordtablerow/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:49D5401F613DAC5EC28E3FF6DF53533177E68929A8603808DEDFB01138CF4C44 -->
