System.Windows.Forms.ListView: Event Members

The events of System.Windows.Forms.ListView are listed below. For a list of all members, see the ListView Members list.

See Also: Inherited members from System.Windows.Forms.Control

Public Events

AfterLabelEdit

Occurs when the label for an item is edited by the user.

BackgroundImageChangedDocumentation for this section has not yet been entered.
BackgroundImageLayoutChanged

Occurs when the ListView.BackgroundImageLayout property changes.

BeforeLabelEdit

Occurs when the user starts editing the label of an item.

CacheVirtualItems

Occurs when the contents of the display area for a System.Windows.Forms.ListView in virtual mode has changed, and the System.Windows.Forms.ListView determines that a new range of items is needed.

ColumnClick

Occurs when the user clicks a column header within the list view control.

ColumnReordered

Occurs when the column header order is changed.

ColumnWidthChanged

Occurs after the width of a column is successfully changed.

ColumnWidthChanging

Occurs when the width of a column is changing.

DrawColumnHeader

Occurs when the details view of a System.Windows.Forms.ListView is drawn and the ListView.OwnerDraw property is set to true.

DrawItem

Occurs when a System.Windows.Forms.ListView is drawn and the ListView.OwnerDraw property is set to true.

DrawSubItem

Occurs when the details view of a System.Windows.Forms.ListView is drawn and the ListView.OwnerDraw property is set to true.

ItemActivate

Occurs when an item is activated.

ItemCheck

Occurs when the check state of an item changes.

ItemChecked

Occurs when the checked state of an item changes.

ItemDrag

Occurs when the user begins dragging an item.

ItemMouseHover

Occurs when the mouse hovers over an item.

ItemSelectionChanged

Occurs when the selection state of an item changes.

PaddingChanged

Occurs when the value of the ListView.Padding property changes.

Paint

Occurs when the System.Windows.Forms.ListView control is painted.

RetrieveVirtualItem

Occurs when the System.Windows.Forms.ListView is in virtual mode and requires a System.Windows.Forms.ListViewItem.

RightToLeftLayoutChanged

Occurs when the value of the ListView.RightToLeftLayout property changes.

SearchForVirtualItem

Occurs when the System.Windows.Forms.ListView is in virtual mode and a search is taking place.

SelectedIndexChanged

Occurs when the ListView.SelectedIndices collection changes.

TextChanged

Occurs when the ListView.Text property changes.

VirtualItemsSelectionRangeChanged

Occurs when a System.Windows.Forms.ListView is in virtual mode and the selection state of a range of items has changed.