TextMarkerStyle Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the appearance of a list item's bullet style.
public enum class TextMarkerStyle
public enum TextMarkerStyle
type TextMarkerStyle =
Public Enum TextMarkerStyle
- Inheritance
Name | Value | Description |
---|---|---|
None | 0 | No marker. |
Disc | 1 | A solid disc circle. |
Circle | 2 | A hollow disc circle. |
Square | 3 | A hollow square shape. |
Box | 4 | A solid square box. |
LowerRoman | 5 | A lowercase Roman numeral starting with the numeral i. For example, i, ii, iii, and iv. The numeral is automatically incremented for each item added to the list. |
UpperRoman | 6 | An uppercase Roman numeral starting with the numeral I. For example, I, II, III, and IV. The numeric value is automatically incremented for each item added to the list. |
LowerLatin | 7 | A lowercase ASCII character starting with the letter a. For example, a, b, and c. The character value is automatically incremented for each item added to the list. |
UpperLatin | 8 | An uppercase ASCII character starting with the letter A. For example, A, B, and C. The character value is automatically incremented for each item added to the list. |
Decimal | 9 | A decimal starting with the number one. For example, 1, 2, and 3. The decimal value is automatically incremented for each item added to the list. |
The following example shows how to create a TextMarkerStyle:
List list = new List();
list.MarkerStyle = TextMarkerStyle.Box;
Dim list As New List()
list.MarkerStyle = TextMarkerStyle.Box
<List MarkerStyle="Box">
<ListItem>
<Paragraph>Box</Paragraph>
</ListItem>
</List>
The MarkerStyle property of a List can be used to define the bullet style for each item in the list. The bullet style can be a graphic element or an alpha-numeric value.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: