Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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
NoneNo marker is displayed.
DiscA solid disc circle is displayed.
CircleA hollow disc circle is displayed.
SquareA hollow square shape is displayed.
BoxA solid square box is displayed.
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.
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.
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.
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.
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.

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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.