# ServerTextControl.ListFormat Property

> Gets or sets the type and the formatting attributes of a bulleted or numbered list. The property value is an object of the type ListFormat. For more information see the description of the ListFormat class.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 12.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > ServerTextControl.ListFormat Property
- **473 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/listformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/listformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/listformat-property/llms-full.txt

---

### Description

Gets or sets the type and the formatting attributes of a bulleted or numbered list. The property value is an object of the type [ListFormat](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/listformat/llms-full.txt). For more information see the description of the ListFormat class.

### Syntax

```csharp
public ListFormat ListFormat { get; set; }
```

```vbnet
Public Property ListFormat As ListFormat
```

### Examples

The following example applies a bulleted list format to the current paragraphs.

```csharp
textControl.Text = "Research\nDraft\nReview";
textControl.Select(0, textControl.Text.Length);

ListFormat format = textControl.ListFormat;
format.Type = ListType.Bulleted;
textControl.ListFormat = format;
```

```vbnet
textControl.Text = "Research" & vbCrLf & "Draft" & vbCrLf & "Review"
textControl.Select(0, textControl.Text.Length)

Dim format As ListFormat = textControl.ListFormat
format.Type = ListType.Bulleted
textControl.ListFormat = format
```

---

## Nearby

- **Previous:** [ServerTextControl.Lines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/lines-property/llms-full.txt)
- **Next:** [ServerTextControl.Load Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/load-method/llms-full.txt)
