# TextControl.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 for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.ListFormat Property
- **411 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/listformat-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/listformat-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/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-wpf/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 uses `TextControl.ListFormat` to configure list format as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.ListFormat = new ListFormat();
if (textControl.ListFormat != null)
{
    Console.WriteLine("Text Control: List Format is available.");
}
```

```vbnet
textControl.ListFormat = New ListFormat()
If textControl.ListFormat IsNot Nothing Then
    Console.WriteLine("Text Control: List Format is available.")
End If
```

---

## Nearby

- **Previous:** [TextControl.Lines Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/lines-property/llms-full.txt)
- **Next:** [TextControl.ListFormatDialog Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/listformatdialog-method/llms-full.txt)
