TX Text Control .NET for Windows Forms

Attribute Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

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

Syntax

public enum ListFormat.Attribute

Members

MemberValueDescription
BulletCharacter256Specifies the attribute set through the BulletCharacter property.
BulletSize512Specifies the attribute set through the BulletSize property.
CharAfterNumber64Obsolete. Use the TextAfterNumber attribute instead.
CharBeforeNumber32Obsolete. Use the TextBeforeNumber attribute instead.
FirstNumber16Specifies the attribute set through the FirstNumber property.
FontName16384Specifies the attribute set through the FontName property.
FormatCharacter4Specifies the attribute set through the FormatChar property.
HangingIndent1024Specifies the attribute set through the HangingIndent property.
Level1Specifies the attribute set through the Level property.
LeftIndent2Specifies the attribute set through the LeftIndent property.
NumberFormat8Specifies the attribute set through the NumberFormat property.
RestartNumbering128Specifies the attribute set through the RestartNumbering property.
TextAfterNumber8192Specifies the attribute set through the TextAfterNumber property.
TextBeforeNumber4096Specifies the attribute set through the TextBeforeNumber property.
Type2048Specifies the attribute set through the Type property.
All32767Not 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}");