Attribute Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Determines a certain list format attribute. This enumeration is used with the Selection.IsCommonValueSelected method.
Syntax
public enum ListFormat.AttributePublic Enum ListFormat.AttributeMembers
| 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.
ListFormat.Attribute value = ListFormat.Attribute.Level;
Console.WriteLine($"Using Attribute: {value}");Dim value As ListFormat.Attribute = ListFormat.Attribute.Level
Console.WriteLine($"Using Attribute: {value}")