List::Decoration Property

 

Gets or sets the type of decoration used for items. The default value is None. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(true)]
property ListDecoration Decoration {
	ListDecoration get();
	void set(ListDecoration value);
}

Property Value

Type: System.Web.UI.MobileControls::ListDecoration

An enumerated value representing the type of decoration used for items.

Where the target device permits, list items can be undecorated, or decorated with bullets or numbers. The ListDecoration enumeration has the following values:

Name

Description

None

No decoration.

Bulleted

List items are decorated with a bullet.

Numbered

List items are decorated with a number.

The following code example demonstrates how to use the Decoration property to change the list to a numbered list. The property is set in the last line of the Page_Load method. This example is part of a larger example for the List overview.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: