# ListFormat.Attribute Enumeration

> Determines a certain list format attribute. This enumeration is used with the Selection.IsCommonValueSelected method.

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

---

### Description

Determines a certain list format attribute. This enumeration is used with the [Selection.IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/iscommonvalueselected-method/llms-full.txt) method.

### Syntax

```csharp
public enum ListFormat.Attribute
```

```vbnet
Public Enum ListFormat.Attribute
```

### Members

| Member | Value | Description |
|---|---|---|
| BulletCharacter | 256 | Specifies the attribute set through the BulletCharacter property. |
| BulletSize | 512 | Specifies the attribute set through the BulletSize property. |
| CharAfterNumber | 64 | Obsolete. Use the TextAfterNumber attribute instead. |
| CharBeforeNumber | 32 | Obsolete. Use the TextBeforeNumber attribute instead. |
| FirstNumber | 16 | Specifies the attribute set through the FirstNumber property. |
| FontName | 16384 | Specifies the attribute set through the FontName property. |
| FormatCharacter | 4 | Specifies the attribute set through the FormatChar property. |
| HangingIndent | 1024 | Specifies the attribute set through the HangingIndent property. |
| Level | 1 | Specifies the attribute set through the Level property. |
| LeftIndent | 2 | Specifies the attribute set through the LeftIndent property. |
| NumberFormat | 8 | Specifies the attribute set through the NumberFormat property. |
| RestartNumbering | 128 | Specifies the attribute set through the RestartNumbering property. |
| TextAfterNumber | 8192 | Specifies the attribute set through the TextAfterNumber property. |
| TextBeforeNumber | 4096 | Specifies the attribute set through the TextBeforeNumber property. |
| Type | 2048 | Specifies the attribute set through the Type property. |
| All | 32767 | Not described in the reference. |

### Examples

The following example selects the Level value from the Attribute enumeration and uses it as a documented workflow choice.

```csharp
ListFormat.Attribute value = ListFormat.Attribute.Level;
Console.WriteLine($"Using Attribute: {value}");
```

```vbnet
Dim value As ListFormat.Attribute = ListFormat.Attribute.Level
Console.WriteLine($"Using Attribute: {value}")
```

---

## Nearby

- **Previous:** [ListFormat Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/listformat/llms-full.txt)
- **Next:** [ListFormat.BulletCharacter Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/listformat/bulletcharacter-property/llms-full.txt)
