ASP.NET BulletedList DisplayMode property
BulletedList control
Definition and Usage
Type DisplayMode property Gets or sets a list of the displayed.
grammar
<asp:BulletedList DisplayMode="mode" runat="server">
Some Content
</asp:BulletedList>
Some Content
</asp:BulletedList>
属性 | 描述 |
---|---|
mode | 规定列表项的显示模式。 可能的值:
|
Examples
The following examples set DisplayMode BulletedList control:
<form runat="server">
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="W3CSchool"
??Value="http://www.w3cschool.cc/" />
</asp:Bulletedlist>
</form>
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="W3CSchool"
??Value="http://www.w3cschool.cc/" />
</asp:Bulletedlist>
</form>
The demonstration >>
BulletedList control