SpeakComputers.com online store
Electronics Software Computers Handhelds Laptops and Tablets Mobile Phones Digital Cameras Camcorders Games Music Books Sport Mens and Womens Watches Power Tools Household appliances

PRODUCTS

Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010

ListviewX, DevComponents.

The ListviewX control replaces the windows forms listview control. The control supports items and groups.

Namespace: DevComponents.DotNetBar.Controls
Assembly: DevComponents.DotNetBar2.dll
Using: DevComponents.DotNetBar.Controls;
Declaring: DevComponents.DotNetBar.Controls.ListViewEx();

Creating the ListViewEx control.

DevComponents.DotNetBar.Controls.ListViewEx listview = new DevComponents.DotNetBar.Controls.ListViewEx();
listview.Location = new Point(100, 100);
listview.Size = new Size(100, 300);
listview.View = View.List;
this.Controls.Add(listview);

Assigning an Imagelist to the ListViewEx control.

listview.SmallImageList = this.imageList1;

Adding items to the ListViewEx control.

System.Windows.Forms.ListViewItem li1 = new ListViewItem();
li1.Text = "Acer.";
listview.Items.Add(li1);
System.Windows.Forms.ListViewItem li2 = new ListViewItem();
li2.Text = "DELL.";
listview.Items.Add(li2);
System.Windows.Forms.ListViewItem li3 = new ListViewItem();
li3.Text = "HP.";
listview.Items.Add(li3);
Assigning an image to a listview item.

li1.ImageIndex = 1;

Screenshots - ListviewX, DevComponents.

ListviewX examples from the DevComponents Windows Forms Programming control set.
Home About Privacy Policy Resouces Search

Copy Right 2006 SpeakComputers.com - All Rights Reserved.