# WordListFluent

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

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordList](/api/word/officeimo-word-wordlist/), 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
- WordListFluent

Filter members 

Show inherited

## Methods

`public static TSelf Bold<TSelf>(TSelf wordList, bool value = true)` [#](#method-bold-boolean)

Sets [WordList.Bold](/api/word/officeimo-word-wordlist/): Gets or sets whether the numbering symbols are bold.

Type Parameters

**TSelf**

Parameters

**wordList 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
wordList.Bold = value;           wordList.Bold(value);
```

`public static TSelf Color<TSelf>(TSelf wordList, OfficeColor? value)` [#](#method-color-nullable-officeimo-officecolor)

Sets [WordList.Color](/api/word/officeimo-word-wordlist/): Gets or sets the color of the numbering symbols. Null clears the directly assigned color.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordList.Color = value;          wordList.Color(value);
```

`public static TSelf DoubleStrikethrough<TSelf>(TSelf wordList, bool value = true)` [#](#method-doublestrikethrough-boolean)

Sets [WordList.DoubleStrikethrough](/api/word/officeimo-word-wordlist/): Gets or sets whether the numbering symbols have a double strikethrough.

Type Parameters

**TSelf**

Parameters

**wordList 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
wordList.DoubleStrikethrough = value;    wordList.DoubleStrikethrough(value);
```

`public static TSelf FontFamily<TSelf>(TSelf wordList, string? value)` [#](#method-fontfamily-string)

Sets [WordList.FontFamily](/api/word/officeimo-word-wordlist/): Gets or sets the font family of the numbering symbols.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordList.FontFamily = value;     wordList.FontFamily(value);
```

`public static TSelf FontSize<TSelf>(TSelf wordList, OfficeLength? value)` [#](#method-fontsize-nullable-officeimo-officelength)

Sets [WordList.FontSize](/api/word/officeimo-word-wordlist/): Gets or sets the size of numbering symbols as a physical length.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordList.FontSize = value;       wordList.FontSize(value);
```

`public static TSelf Italic<TSelf>(TSelf wordList, bool value = true)` [#](#method-italic-boolean)

Sets [WordList.Italic](/api/word/officeimo-word-wordlist/): Gets or sets whether the numbering symbols are italicized.

Type Parameters

**TSelf**

Parameters

**wordList 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
wordList.Italic = value;         wordList.Italic(value);
```

`public static TSelf ListItems<TSelf>(TSelf wordList, IEnumerable<WordParagraph> items)` [#](#method-listitems-collections-generic-ienumerable-officeimo-word-wordparagraph)

Adds items to [WordList.ListItems](/api/word/officeimo-word-wordlist/): Gets all the list items associated with this WordList.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**items System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordParagraph> required**

The items, in order.

Returns

`TSelf` The same instance.

`public static TSelf ListItem<TSelf>(TSelf wordList, WordParagraph item)` [#](#method-listitem-officeimo-word-wordparagraph)

Adds an item to [WordList.ListItems](/api/word/officeimo-word-wordlist/): Gets all the list items associated with this WordList.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**item OfficeIMO.Word.WordParagraph required**

The item.

Returns

`TSelf` The same instance.

`public static TSelf RestartNumberingAfterBreak<TSelf>(TSelf wordList, bool value = true)` [#](#method-restartnumberingafterbreak-boolean)

Sets [WordList.RestartNumberingAfterBreak](/api/word/officeimo-word-wordlist/): Gets or sets whether numbering restarts after a section break.

Type Parameters

**TSelf**

Parameters

**wordList 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
wordList.RestartNumberingAfterBreak = value;    wordList.RestartNumberingAfterBreak(value);
```

`public static TSelf StartNumberingValue<TSelf>(TSelf wordList, int value, int level = 0)` [#](#method-startnumberingvalue-int32-int32)

Sets the starting number for the specified list level. Updates both the abstract definition and the list instance override.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**value int required**

Starting number for the level.

**level int = 0 optional**

Zero-based list level.

Returns

`TSelf` The same instance.

`public static TSelf Strikethrough<TSelf>(TSelf wordList, bool value = true)` [#](#method-strikethrough-boolean)

Sets [WordList.Strikethrough](/api/word/officeimo-word-wordlist/): Gets or sets whether the numbering symbols have a strikethrough.

Type Parameters

**TSelf**

Parameters

**wordList 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
wordList.Strikethrough = value;    wordList.Strikethrough(value);
```

`public static TSelf Underline<TSelf>(TSelf wordList, WordUnderlineStyle? value)` [#](#method-underline-nullable-officeimo-word-wordunderlinestyle)

Sets [WordList.Underline](/api/word/officeimo-word-wordlist/): Gets or sets the underline style of the numbering symbols.

Type Parameters

**TSelf**

Parameters

**wordList TSelf required**

The instance.

**value OfficeIMO.Word.WordUnderlineStyle? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordList.Underline = value;      wordList.Underline(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:169F97EC29EF1A7A223726FC2D5A052A10DD0A1CA0879606328C4B16AFE7FB08 -->
