# WordTableRowFluent

The fluent methods of WordTableRow, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordTableRow](/api/word/officeimo-word-wordtablerow/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- WordTableRowFluent

Filter members 

Show inherited

## Methods

`public static TSelf AllowRowToBreakAcrossPages<TSelf>(TSelf wordTableRow, 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.

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                       // C# fluent
wordTableRow.AllowRowToBreakAcrossPages = value;    wordTableRow.AllowRowToBreakAcrossPages(value);
```

`public static TSelf FirstCell<TSelf>(TSelf wordTableRow, 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

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

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

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf Height<TSelf>(TSelf wordTableRow, 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.

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordTableRow.Height = value;     wordTableRow.Height(value);
```

`public static TSelf LastCell<TSelf>(TSelf wordTableRow, 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

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

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

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf MinimumHeight<TSelf>(TSelf wordTableRow, 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.

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
wordTableRow.MinimumHeight = value;    wordTableRow.MinimumHeight(value);
```

`public static TSelf Parent<TSelf>(TSelf wordTableRow, 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.

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

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

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf RepeatHeaderRowAtTheTopOfEachPage<TSelf>(TSelf wordTableRow, 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.

Type Parameters

**TSelf**

Parameters

**wordTableRow TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                              // C# fluent
wordTableRow.RepeatHeaderRowAtTheTopOfEachPage = value;    wordTableRow.RepeatHeaderRowAtTheTopOfEachPage(value);
```

## 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?`

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