Properti BulletImageUrl ASP.NET

Definisi dan Penggunaan

Properti BulletImageUrl digunakan untuk mendapatkan atau menetapkan URL gambar yang digunakan saat properti BulletStyle ditetapkan menjadi "CustomImage".

Sintaks

<asp:BulletedList BulletImageUrl="url" runat="server">
beberapa konten
</asp:BulletedList>
Properti Deskripsi
url Nilai string, menentukan URL gambar yang akan digunakan sebagai tanda daftar.

Contoh

Contoh di bawah ini menetapkan BulletImageUrl Kontrol BulletedList:

<form runat="server">
<asp:BulletedList id="bl1" runat="server">
BulletImageUrl="image.gif">
Beberapa konten
</asp:BulletedList>
</form>

Contoh

Atur BulletImageUrl Kontrol RadioButtonList