VB.NET Tutorial

Español Français 中文 Deutsch Portuguese Japanese nederlands
Visual Basic Tutorial
Creating Project
Saving a Project
Compile, Run a Project
Open an Existing Project
VB Datatypes
User Defined Datatypes
VB Control Structure
VB Loops
VB Controls
Dialog Controls
Console Programming
VB Objects,Classes
VB Arrays
Math Functions
String Functions
Type Conversion Functions
Date Time Functions
Databases in VB.net
File Handling
Debugging Tools
Exception Handling

ListView Control Properties in VB.NET

Tutorials Vbnet


What are the properties of listview control in VB.NET?

ListView Properties

     Following tables lists the commonly used Properties, Events, Methods of the ListView Control in Visual Basic.net 2008.


Properties Description
Alignment Text alignment is set using this property either to right or left by giving values 0 or 1
Backcolor Property used to set the background color.
Font This property is used to specify Font style for the control.
Width This property is used to specify the width of the control.
Items Property used get the list items.
Scrollable Property is used to get or set if the scroll bar should be visible.
Columns Property is used to get the collection of all column headers.
BackgroundImage Property used to set or get the background image displayed.
BackgroundImageTiled Property used to set or get a value indicating whetherthe background image should be tiled.
SelectedItem Property is used to get the items selected in the Control.
SmallImageList Property is used to get or set the image list for for displaying the items.
TopItem Property used to set or get the first visible item in the control.


Method Description
BeginUpdate Method used to turn off the visual updating of the control until the EndUpdate.
EndUpdate Method used to resume visual updating of the control.
ArrangeIcons Method used for the displaying iocns as large or small.
Clear Method used to clear all items.
GetItemAt Method used to get the item at the x,y coordinates specified.


Events Description
AfterLableEdit Triggered when the label has been edited.
BeforeLableEdit Triggered before the label is edited.
ColumnClick Triggered when the column is clicked.
ItemActivate Triggered when the item is activated.
ItemCheck Triggered when the item is checked.
SelectedIndexChanged Triggered when the selected index changes.

Other Links

web hosting