Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Windows.Forms Namespace
Please Wait
ListView Class
Please Wait
ListView Events
Please Wait
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
ListView Events
The
ListView
type exposes the following members.
Events
Name
Description
AfterLabelEdit
Occurs when the label for an item is edited by the user.
AutoSizeChanged
Infrastructure.
This event is not relevant for this class.
(Inherited from
Control
.)
BackColorChanged
Occurs when the value of the
BackColor
property changes.
(Inherited from
Control
.)
BackgroundImageChanged
Overloaded.
BackgroundImageLayoutChanged
Infrastructure.
Occurs when the
BackgroundImageLayout
property changes.
BeforeLabelEdit
Occurs when the user starts editing the label of an item.
BindingContextChanged
Occurs when the value of the
BindingContext
property changes.
(Inherited from
Control
.)
CacheVirtualItems
Occurs when the contents of the display area for a
ListView
in virtual mode has changed, and the
ListView
determines that a new range of items is needed.
CausesValidationChanged
Occurs when the value of the
CausesValidation
property changes.
(Inherited from
Control
.)
ChangeUICues
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from
Control
.)
Click
Occurs when the control is clicked.
(Inherited from
Control
.)
ClientSizeChanged
Occurs when the value of the
ClientSize
property changes.
(Inherited from
Control
.)
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.
ContextMenuChanged
Occurs when the value of the
ContextMenu
property changes.
(Inherited from
Control
.)
ContextMenuStripChanged
Occurs when the value of the
ContextMenuStrip
property changes.
(Inherited from
Control
.)
ControlAdded
Occurs when a new control is added to the
Control
.
.
::
.
ControlCollection
.
(Inherited from
Control
.)
ControlRemoved
Occurs when a control is removed from the
Control
.
.
::
.
ControlCollection
.
(Inherited from
Control
.)
CursorChanged
Occurs when the value of the
Cursor
property changes.
(Inherited from
Control
.)
Disposed
Occurs when the component is disposed by a call to the
Dispose
method.
(Inherited from
Component
.)
DockChanged
Occurs when the value of the
Dock
property changes.
(Inherited from
Control
.)
DoubleClick
Occurs when the control is double-clicked.
(Inherited from
Control
.)
DragDrop
Occurs when a drag-and-drop operation is completed.
(Inherited from
Control
.)
DragEnter
Occurs when an object is dragged into the control's bounds.
(Inherited from
Control
.)
DragLeave
Occurs when an object is dragged out of the control's bounds.
(Inherited from
Control
.)
DragOver
Occurs when an object is dragged over the control's bounds.
(Inherited from
Control
.)
DrawColumnHeader
Occurs when the details view of a
ListView
is drawn and the
OwnerDraw
property is set to
true
.
DrawItem
Occurs when a
ListView
is drawn and the
OwnerDraw
property is set to
true
.
DrawSubItem
Occurs when the details view of a
ListView
is drawn and the
OwnerDraw
property is set to
true
.
EnabledChanged
Occurs when the
Enabled
property value has changed.
(Inherited from
Control
.)
Enter
Occurs when the control is entered.
(Inherited from
Control
.)
FontChanged
Occurs when the
Font
property value changes.
(Inherited from
Control
.)
ForeColorChanged
Occurs when the
ForeColor
property value changes.
(Inherited from
Control
.)
GiveFeedback
Occurs during a drag operation.
(Inherited from
Control
.)
GotFocus
Occurs when the control receives focus.
(Inherited from
Control
.)
HandleCreated
Occurs when a handle is created for the control.
(Inherited from
Control
.)
HandleDestroyed
Occurs when the control's handle is in the process of being destroyed.
(Inherited from
Control
.)
HelpRequested
Occurs when the user requests help for a control.
(Inherited from
Control
.)
ImeModeChanged
Occurs when the
ImeMode
property has changed.
(Inherited from
Control
.)
Invalidated
Occurs when a control's display requires redrawing.
(Inherited from
Control
.)
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.
KeyDown
Occurs when a key is pressed while the control has focus.
(Inherited from
Control
.)
KeyPress
Occurs when a key is pressed while the control has focus.
(Inherited from
Control
.)
KeyUp
Occurs when a key is released while the control has focus.
(Inherited from
Control
.)
Layout
Occurs when a control should reposition its child controls.
(Inherited from
Control
.)
Leave
Occurs when the input focus leaves the control.
(Inherited from
Control
.)
LocationChanged
Occurs when the
Location
property value has changed.
(Inherited from
Control
.)
LostFocus
Occurs when the control loses focus.
(Inherited from
Control
.)
MarginChanged
Occurs when the control's margin changes.
(Inherited from
Control
.)
MouseCaptureChanged
Occurs when the control loses or gains mouse capture.
(Inherited from
Control
.)
MouseClick
Occurs when the control is clicked by the mouse.
(Inherited from
Control
.)
MouseDoubleClick
Occurs when the control is double clicked by the mouse.
(Inherited from
Control
.)
MouseDown
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from
Control
.)
MouseEnter
Occurs when the mouse pointer enters the control.
(Inherited from
Control
.)
MouseHover
Occurs when the mouse pointer rests on the control.
(Inherited from
Control
.)
MouseLeave
Occurs when the mouse pointer leaves the control.
(Inherited from
Control
.)
MouseMove
Occurs when the mouse pointer is moved over the control.
(Inherited from
Control
.)
MouseUp
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from
Control
.)
MouseWheel
Occurs when the mouse wheel moves while the control has focus.
(Inherited from
Control
.)
Move
Occurs when the control is moved.
(Inherited from
Control
.)
PaddingChanged
Infrastructure.
Occurs when the value of the
Padding
property changes.
Paint
Overloaded.
ParentChanged
Occurs when the
Parent
property value changes.
(Inherited from
Control
.)
PreviewKeyDown
Occurs before the
KeyDown
event when a key is pressed while focus is on this control.
(Inherited from
Control
.)
QueryAccessibilityHelp
Occurs when
AccessibleObject
is providing help to accessibility applications.
(Inherited from
Control
.)
QueryContinueDrag
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from
Control
.)
RegionChanged
Occurs when the value of the
Region
property changes.
(Inherited from
Control
.)
Resize
Occurs when the control is resized.
(Inherited from
Control
.)
RetrieveVirtualItem
Occurs when the
ListView
is in virtual mode and requires a
ListViewItem
.
RightToLeftChanged
Occurs when the
RightToLeft
property value changes.
(Inherited from
Control
.)
RightToLeftLayoutChanged
Occurs when the value of the
RightToLeftLayout
property changes.
SearchForVirtualItem
Occurs when the
ListView
is in virtual mode and a search is taking place.
SelectedIndexChanged
Occurs when the
SelectedIndices
collection changes.
SizeChanged
Occurs when the
Size
property value changes.
(Inherited from
Control
.)
StyleChanged
Occurs when the control style changes.
(Inherited from
Control
.)
SystemColorsChanged
Occurs when the system colors change.
(Inherited from
Control
.)
TabIndexChanged
Occurs when the
TabIndex
property value changes.
(Inherited from
Control
.)
TabStopChanged
Occurs when the
TabStop
property value changes.
(Inherited from
Control
.)
TextChanged
Overloaded.
Validated
Occurs when the control is finished validating.
(Inherited from
Control
.)
Validating
Occurs when the control is validating.
(Inherited from
Control
.)
VirtualItemsSelectionRangeChanged
Occurs when a
ListView
is in virtual mode and the selection state of a range of items has changed.
VisibleChanged
Occurs when the
Visible
property value changes.
(Inherited from
Control
.)
Top
See Also
Reference
ListView Class
System.Windows.Forms Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback