SpeakComputers.com
Home
Software
Electronics
Desktop Computers
Laptops
Games
Handheld Devices
Mobile Phones
Cameras
Camcorders
Printers
Books
Software Downloads 2012 Software Mac Software Security Student Editions Windows 7 Office 2010
ASP.NET C# VB.NET C++ .NET Infragistics DevComponents

VB.NET Listview Control.

The VB.NET System.Windows.Forms.ListView control enabled you to display a list of items from which the user can select one or multiple items from the list. Each item displayed within the ListView can have an optional icon associated with the item type it is representing. You can set the view property to Large Icons, Small Icons, Details, List and Tile.

Namespace: System::Windows::Forms
System.Windows.Forms (in system.windows.forms.dll)

Creating an new VB.NET Windows forms ListView.
Dim listview As New ListView

Assigning a new location for the VB.NET Windows Forms ListView.
listview.Location = New Point(10, 10)

Setting the size of the VB.NET ListView Control.
listview.Size = New Size(150, 150)

Setting the view style for the VB.NET ListView Control.
listview.View = View.List

Adding a VB.NET ListView control to the form.
Me.Controls.Add(listview)

Adding Listview items to the VB.NET ListView Control.
Dim listviewitem As New ListViewItem
listviewitem.Text = "DELL"
Dim listviewitem2 As New ListViewItem
listviewitem2.Text = "HP"
Dim listviewitem3 As New ListViewItem
listviewitem3.Text = "SONY"

listview.Items.AddRange(New ListViewItem() {listviewitem, listviewitem2, listviewitem3})


VB.NET ListView control Tutorial.
Computer Security
AntiVirus Software
Internet Security
Parental Controls
Backup & Recovery
Computer Protection
Anti Malware
Photo & Video
Photo & Video Editing
Video Music
Desktop Publishing
Professional Design
Home Publishing
Clipart
Business & Accounting
Accounting
Payroll
Check Printing
TAX
H&R Block
Microsoft Office
Design
Graphic Design
Home Design
Garden Design
Interior Design
Computer Aided Design
3D Design
Students & Teacher
Adobe
Microsoft Office
Dragon Naturally Speaking
Corel Draw
Serif
Student/Teacher Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
Home About Privacy Policy Resouces