ASP.NET BulletedList BulletStyle 属性
BulletedList 控件
定义和用法
BulletStyle 属性用于获取或设置项目列表符号的样式。
语法
<asp:BulletedList BulletStyle="style" runat="server">
Some Content
</asp:BulletedList>
Some Content
</asp:BulletedList>
属性 | 描述 |
---|---|
style | 规定列表项目符号的样式。 可能的值:
|
实例
下面的实例设置了 BulletedList 控件的 BulletStyle 属性:
<form runat="server">
<asp:BulletedList id="bl1"
runat="server" BulletStyle="Numbered">
Some content
</asp:BulletedList>
</form>
<asp:BulletedList id="bl1"
runat="server" BulletStyle="Numbered">
Some content
</asp:BulletedList>
</form>
演示实例 »
BulletedList 控件
点我分享笔记