This is not a functionality of
ListBox
, default of custom. And even if you implement a fully custom control with such behavior, if this control looks like a
ListBox
, it could confuse your users.
It looks like your application is ASP.NET. If so, I would advise alternative which would be way more clear to the users:
System.Web.UI.WebControls.CheckBoxList
:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.checkboxlist.aspx[
^].
—SA