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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public enum TextMarkerStyle
public enum TextMarkerStyle
public enum TextMarkerStyle
<object property="EnumerationValue" .../>
 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 example shows all the different representations of a TextMarkerStyle.

Example of text marker styles for list items


Text marker styles

The following code example shows how to create a TextMarkerStyle.

<List MarkerStyle="Box">
  <ListItem>
    <Paragraph>Box</Paragraph>
  </ListItem>
</List>

List list = new List();
list.MarkerStyle = TextMarkerStyle.Box;

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.