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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[BindableAttribute(true)] public: property ListDecoration Decoration { ListDecoration get (); void set (ListDecoration value); }
<asp:List Decoration="ListDecoration" />
Property Value
Type: System.Web.UI.MobileControls::ListDecorationAn 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:
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, 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.