Collapse the table of content
Expand the table of content
Expand Minimize

TextMarkerStyle Enumeration

Describes the appearance of a list item's bullet style.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public enum TextMarkerStyle
<object property="enumerationMemberName" .../>

Member nameDescription
BoxA solid square box is displayed.
CircleA hollow disc circle is displayed.
DecimalA decimal is displayed, starting with the number one, for example, 1, 2, and 3. The TextMarkerStyle is automatically incremented for each item added to the list.
DiscA solid disc circle is displayed.
LowerLatinA lowercase ASCII character is displayed, starting with the letter a, for example, a, b, and c. The TextMarkerStyle is automatically incremented for each item added to the list.
LowerRomanA lowercase Roman numeral is displayed, starting with the numeral i, for example, i, ii, iii, and iv. The TextMarkerStyle is automatically incremented for each item added to the list.
NoneNo marker is displayed.
SquareA hollow square shape is displayed.
UpperLatinAn uppercase ASCII character is displayed, starting with the letter A, for example, A, B, and C. The TextMarkerStyle is automatically incremented for each item added to the list.
UpperRomanAn uppercase Roman numeral is displayed, starting with the numeral I, for example, I, II, III, and IV. The TextMarkerStyle is automatically incremented for each item added to the 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.

The following code example shows how to create a TextMarkerStyle.

List list = new List();
list.MarkerStyle = TextMarkerStyle.Box;
<List MarkerStyle="Box">
  <ListItem>
    <Paragraph>Box</Paragraph>
  </ListItem>
</List>

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft