This is a migrated thread and some comments may be shown as answers.

multiple columns with checkboxes for each item?

2 Answers 670 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Lou
Top achievements
Rank 1
Lou asked on 29 Dec 2014, 09:52 PM
Hi, is it possible to display a lot of items with a checkbox next to each item with multiple columns, similar to how it can be done with the VB6 listview control?
If so can you help me set it up in this way?
I have attached a screenshot of what I am trying to achieve.

Thanks,

-Lou

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 30 Dec 2014, 11:47 AM
Hello Lou,

Thank you for writing.

Yes, this is very easy to achieve with RadListView in IconsView mode. Here is a sample:
radListView1 = new RadListView();
radListView1.Parent = this;
radListView1.Size = new Size(800, 200);
 
for (int i = 0; i < 100; i++)
{
    radListView1.Items.Add("Item " + i);
}
 
radListView1.ShowCheckBoxes = true;
radListView1.ViewType = ListViewType.IconsView;
 
radListView1.AllowArbitraryItemHeight = true;
radListView1.ItemSize = new Size(100, 30);

Here you can find the control's documentation if you need to further customize it according to your needs: http://www.telerik.com/help/winforms/listview-overview.html.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Lou
Top achievements
Rank 1
answered on 30 Dec 2014, 02:29 PM
Hi Stefan, thanks for the help with this.

-Lou
Tags
CheckedListBox
Asked by
Lou
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Lou
Top achievements
Rank 1
Share this question
or