System.Web.UI.WebControls.BulletStyle Enumeration

Specifies the bullet styles you can apply to list items in a System.Web.UI.WebControls.BulletedList control.

Syntax

public enum BulletStyle

Remarks

The System.Web.UI.WebControls.BulletStyle enumeration represents the bullet styles that you can apply to the list items in a System.Web.UI.WebControls.BulletedList control. The BulletedList.BulletStyle property uses these enumeration values to set the bullet styles in a System.Web.UI.WebControls.BulletedList control. For example, if you set the BulletedList.BulletStyle property to Disc, each list item in a System.Web.UI.WebControls.BulletedList control will render a filled circle preceding the content of the list item as follows:

Specifying the CustomImage bullet style allows you to supply your own image for the bullet. If you specify the CustomImage bullet style, you must also set the BulletedList.BulletImageUrl property to the URL of the custom image to use.

If you specify NotSet, the browser in which the control is rendered will determine the bullet style to display with the list items in the System.Web.UI.WebControls.BulletedList control.

Members

Member NameDescription
Circle

The bullet style is an empty circle shape.

CustomImage

The bullet style is a custom image.

Disc

The bullet style is a filled circle shape.

LowerAlpha

The bullet style is a lowercase letter (a, b, c, ...).

LowerRoman

The bullet style is a lowercase Roman numeral (i, ii, iii, ...).

NotSet

The bullet style is not set. The browser that renders the System.Web.UI.WebControls.BulletedList control will determine the bullet style to display.

Numbered

The bullet style is a number (1, 2, 3, ...).

Square

The bullet style is a filled square shape.

UpperAlpha

The bullet style is an uppercase letter (A, B, C, ...).

UpperRoman

The bullet style is an uppercase Roman numeral (I, II, III, ...).

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0