# WordTableStyleDetailsFluent

The fluent methods of WordTableStyleDetails, 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 [WordTableStyleDetails](/api/word/officeimo-word-wordtablestyledetails/), 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
- WordTableStyleDetailsFluent

Filter members 

Show inherited

## Methods

`public static TSelf BordersForAllSides<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle style, OfficeLength size, OfficeColor color)` [#](#method-bordersforallsides-officeimo-word-wordborderstyle-officeimo-officelength-officeimo-officecolor)

Creates and sets a TableBorders object with the specified border settings

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**style OfficeIMO.Word.WordBorderStyle required**

Border style for all sides

**size OfficeIMO.OfficeLength required**

Nonnegative thickness, rounded to eighths of a point within the native unsigned 32-bit range.

**color OfficeIMO.OfficeColor required**

Border color for all sides

Returns

`TSelf` The same instance.

`public static TSelf BordersOutsideInside<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle outsideStyle, OfficeLength outsideSize, OfficeColor outsideColor, WordBorderStyle insideStyle, OfficeLength insideSize, OfficeColor insideColor)` [#](#method-bordersoutsideinside-officeimo-word-wordborderstyle-officeimo-officelength-officeimo-officecolor-officeimo-word-wordborderstyle-officeimo-officelength-officeimo-officecolor)

Creates a TableBorders object with different settings for outside and inside borders

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**outsideStyle OfficeIMO.Word.WordBorderStyle required**

Style for outside borders

**outsideSize OfficeIMO.OfficeLength required**

Nonnegative outside thickness, rounded to eighths of a point.

**outsideColor OfficeIMO.OfficeColor required**

Color for outside borders

**insideStyle OfficeIMO.Word.WordBorderStyle required**

Style for inside borders

**insideSize OfficeIMO.OfficeLength required**

Nonnegative inside thickness, rounded to eighths of a point.

**insideColor OfficeIMO.OfficeColor required**

Color for inside borders

Returns

`TSelf` The same instance.

`public static TSelf CellSpacing<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-cellspacing-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.CellSpacing](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets nonnegative cell spacing; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                 // C# fluent
wordTableStyleDetails.CellSpacing = value;    wordTableStyleDetails.CellSpacing(value);
```

`public static TSelf CustomBorders<TSelf>(TSelf wordTableStyleDetails, WordBorderStyle? topStyle = null, OfficeLength? topSize = null, OfficeColor? topColor = null, WordBorderStyle? bottomStyle = null, OfficeLength? bottomSize = null, OfficeColor? bottomColor = null, WordBorderStyle? leftStyle = null, OfficeLength? leftSize = null, OfficeColor? leftColor = null, WordBorderStyle? rightStyle = null, OfficeLength? rightSize = null, OfficeColor? rightColor = null, WordBorderStyle? insideHStyle = null, OfficeLength? insideHSize = null, OfficeColor? insideHColor = null, WordBorderStyle? insideVStyle = null, OfficeLength? insideVSize = null, OfficeColor? insideVColor = null)` [#](#member-f662eac753342b46e35e7a80)

Updates only the supplied border settings. Null arguments preserve existing values. Thicknesses are nonnegative and round to eighths of a point within the native unsigned 32-bit range. All thicknesses are validated before any border is changed.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**topStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**topSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**topColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

**bottomStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**bottomSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**bottomColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

**leftStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**leftSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**leftColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

**rightStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**rightSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**rightColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

**insideHStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**insideHSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**insideHColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

**insideVStyle OfficeIMO.Word.WordBorderStyle? = null optional**

Optional border style.

**insideVSize OfficeIMO.OfficeLength? = null optional**

Optional physical thickness; zero remains explicit.

**insideVColor OfficeIMO.OfficeColor? = null optional**

Optional border color.

Returns

`TSelf` The same instance.

`public static TSelf MarginDefaultBottom<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-margindefaultbottom-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.MarginDefaultBottom](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the nonnegative default bottom cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                         // C# fluent
wordTableStyleDetails.MarginDefaultBottom = value;    wordTableStyleDetails.MarginDefaultBottom(value);
```

`public static TSelf MarginDefaultLeft<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-margindefaultleft-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.MarginDefaultLeft](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the nonnegative default left cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                       // C# fluent
wordTableStyleDetails.MarginDefaultLeft = value;    wordTableStyleDetails.MarginDefaultLeft(value);
```

`public static TSelf MarginDefaultRight<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-margindefaultright-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.MarginDefaultRight](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the nonnegative default right cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                        // C# fluent
wordTableStyleDetails.MarginDefaultRight = value;    wordTableStyleDetails.MarginDefaultRight(value);
```

`public static TSelf MarginDefaultTop<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-margindefaulttop-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.MarginDefaultTop](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the nonnegative default top cell margin; null removes the direct override. Values round to whole twips and must fit 0 through 32767 twips.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
wordTableStyleDetails.MarginDefaultTop = value;    wordTableStyleDetails.MarginDefaultTop(value);
```

`public static TSelf ShadingColor<TSelf>(TSelf wordTableStyleDetails, OfficeColor? value)` [#](#method-shadingcolor-nullable-officeimo-officecolor)

Sets [WordTableStyleDetails.ShadingColor](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the direct shading pattern color. Null clears only that color.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                  // C# fluent
wordTableStyleDetails.ShadingColor = value;    wordTableStyleDetails.ShadingColor(value);
```

`public static TSelf ShadingFillColor<TSelf>(TSelf wordTableStyleDetails, OfficeColor? value)` [#](#method-shadingfillcolor-nullable-officeimo-officecolor)

Sets [WordTableStyleDetails.ShadingFillColor](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the direct table fill color. Null removes direct table shading.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
wordTableStyleDetails.ShadingFillColor = value;    wordTableStyleDetails.ShadingFillColor(value);
```

`public static TSelf ShadingPattern<TSelf>(TSelf wordTableStyleDetails, WordShadingPattern? value)` [#](#method-shadingpattern-nullable-officeimo-word-wordshadingpattern)

Sets [WordTableStyleDetails.ShadingPattern](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets the direct table shading pattern. Null removes direct table shading.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.Word.WordShadingPattern? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                    // C# fluent
wordTableStyleDetails.ShadingPattern = value;    wordTableStyleDetails.ShadingPattern(value);
```

`public static TSelf TableIndentation<TSelf>(TSelf wordTableStyleDetails, OfficeLength? value)` [#](#method-tableindentation-nullable-officeimo-officelength)

Sets [WordTableStyleDetails.TableIndentation](/api/word/officeimo-word-wordtablestyledetails/): Gets or sets signed table indentation; null removes the direct override. Values round to whole twips within the signed 32-bit native range.

Type Parameters

**TSelf**

Parameters

**wordTableStyleDetails TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
wordTableStyleDetails.TableIndentation = value;    wordTableStyleDetails.TableIndentation(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:E2B4EAD4E0074DDDBFC1D5613B7AEA651D92029790F55768394878FEDD002A89 -->
