System.Web.UI.WebControls.BulletedList.BulletStyle Property

Gets or sets the bullet style for the System.Web.UI.WebControls.BulletedList control.

Syntax

[System.ComponentModel.DefaultValue(System.Web.UI.WebControls.BulletStyle.NotSet)]
public virtual BulletStyle BulletStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the System.Web.UI.WebControls.BulletStyle property to specify the bullet style to apply to the list items in a System.Web.UI.WebControls.BulletedList control. The System.Web.UI.WebControls.BulletStyle property is set using one of the System.Web.UI.WebControls.BulletStyle enumeration values. The following table lists the possible values.

BulletStyle.NotSet

Not set.

BulletStyle.Numbered

A number.

BulletStyle.LowerAlpha

A lowercase letter.

BulletStyle.UpperAlpha

An uppercase letter.

BulletStyle.LowerRoman

A lowercase Roman numeral.

BulletStyle.UpperRoman

An uppercase Roman numeral.

BulletStyle.Disc

A filled circle.

BulletStyle.Circle

An empty circle.

BulletStyle.Square

A filled square.

BulletStyle.CustomImage

A custom image.

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

Note:

The System.Web.UI.WebControls.BulletedList control does not support the Image.AlternateText property because the bullets are inherently decorative and do not provide additional information that needs to be conveyed via assistive technology. However, if you want to use a custom image to convey a concept to the user, you should add additional text to each of the bulleted list items or use a control that allows you to specify alternate text for each image.

The value of this property is stored in view state.

Requirements

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