This documentation is archived and is not being maintained.

ListView Events

  Name Description
Public event AfterLabelEdit Occurs when the label for an item is edited by the user.
Public event AutoSizeChanged  This event is not relevant for this class. (Inherited from Control.)
Public event BackColorChanged  Occurs when the value of the BackColor property changes. (Inherited from Control.)
Public event BackgroundImageChanged  Occurs when the value of the BackgroundImage property changes. (Inherited from Control.)
Public event BackgroundImageLayoutChanged Occurs when the BackgroundImageLayout property changes.
Public event BeforeLabelEdit Occurs when the user starts editing the label of an item.
Public event BindingContextChanged  Occurs when the value of the BindingContext property changes. (Inherited from Control.)
Public event 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.
Public event CausesValidationChanged  Occurs when the value of the CausesValidation property changes. (Inherited from Control.)
Public event ChangeUICues  Occurs when the focus or keyboard user interface (UI) cues change. (Inherited from Control.)
Public event Click  Occurs when the control is clicked. (Inherited from Control.)
Public event ClientSizeChanged  Occurs when the value of the ClientSize property changes. (Inherited from Control.)
Public event Supported by the .NET Compact Framework ColumnClick Occurs when the user clicks a column header within the list view control.
Public event ColumnReordered Occurs when the column header order is changed.
Public event ColumnWidthChanged Occurs after the width of a column is successfully changed.
Public event ColumnWidthChanging Occurs when the width of a column is changing.
Public event ContextMenuChanged  Occurs when the value of the ContextMenu property changes. (Inherited from Control.)
Public event ContextMenuStripChanged  Occurs when the value of the ContextMenuStrip property changes. (Inherited from Control.)
Public event ControlAdded  Occurs when a new control is added to the Control.ControlCollection. (Inherited from Control.)
Public event ControlRemoved  Occurs when a control is removed from the Control.ControlCollection. (Inherited from Control.)
Public event CursorChanged  Occurs when the value of the Cursor property changes. (Inherited from Control.)
Public event Supported by the .NET Compact Framework Disposed  Adds an event handler to listen to the Disposed event on the component. (Inherited from Component.)
Public event DockChanged  Occurs when the value of the Dock property changes. (Inherited from Control.)
Public event DoubleClick  Occurs when the control is double-clicked. (Inherited from Control.)
Public event DragDrop  Occurs when a drag-and-drop operation is completed. (Inherited from Control.)
Public event DragEnter  Occurs when an object is dragged into the control's bounds. (Inherited from Control.)
Public event DragLeave  Occurs when an object is dragged out of the control's bounds. (Inherited from Control.)
Public event DragOver  Occurs when an object is dragged over the control's bounds. (Inherited from Control.)
Public event DrawColumnHeader Occurs when the details view of a ListView is drawn and the OwnerDraw property is set to true.
Public event DrawItem Occurs when a ListView is drawn and the OwnerDraw property is set to true.
Public event DrawSubItem Occurs when the details view of a ListView is drawn and the OwnerDraw property is set to true.
Public event Supported by the .NET Compact Framework EnabledChanged  Occurs when the Enabled property value has changed. (Inherited from Control.)
Public event Enter  Occurs when the control is entered. (Inherited from Control.)
Public event FontChanged  Occurs when the Font property value changes. (Inherited from Control.)
Public event ForeColorChanged  Occurs when the ForeColor property value changes. (Inherited from Control.)
Public event GiveFeedback  Occurs during a drag operation. (Inherited from Control.)
Public event Supported by the .NET Compact Framework GotFocus  Occurs when the control receives focus. (Inherited from Control.)
Public event Supported by the .NET Compact Framework HandleCreated  Occurs when a handle is created for the control. (Inherited from Control.)
Public event Supported by the .NET Compact Framework HandleDestroyed  Occurs when the control's handle is in the process of being destroyed. (Inherited from Control.)
Public event HelpRequested  Occurs when the user requests help for a control. (Inherited from Control.)
Public event ImeModeChanged  Occurs when the ImeMode property has changed. (Inherited from Control.)
Public event Invalidated  Occurs when a control's display requires redrawing. (Inherited from Control.)
Public event Supported by the .NET Compact Framework ItemActivate Occurs when an item is activated.
Public event Supported by the .NET Compact Framework ItemCheck Occurs when the check state of an item changes.
Public event ItemChecked Occurs when the checked state of an item changes.
Public event ItemDrag Occurs when the user begins dragging an item.
Public event ItemMouseHover Occurs when the mouse hovers over an item.
Public event ItemSelectionChanged Occurs when the selection state of an item changes.
Public event Supported by the .NET Compact Framework KeyDown  Occurs when a key is pressed while the control has focus. (Inherited from Control.)
Public event Supported by the .NET Compact Framework KeyPress  Occurs when a key is pressed while the control has focus. (Inherited from Control.)
Public event Supported by the .NET Compact Framework KeyUp  Occurs when a key is released while the control has focus. (Inherited from Control.)
Public event Layout  Occurs when a control should reposition its child controls. (Inherited from Control.)
Public event Leave  Occurs when the input focus leaves the control. (Inherited from Control.)
Public event LocationChanged  Occurs when the Location property value has changed. (Inherited from Control.)
Public event Supported by the .NET Compact Framework LostFocus  Occurs when the control loses focus. (Inherited from Control.)
Public event MarginChanged  Occurs when the control's margin changes. (Inherited from Control.)
Public event MouseCaptureChanged  Occurs when the control loses mouse capture. (Inherited from Control.)
Public event MouseClick  Occurs when the control is clicked by the mouse. (Inherited from Control.)
Public event MouseDoubleClick  Occurs when the control is double clicked by the mouse. (Inherited from Control.)
Public event MouseDown  Occurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from Control.)
Public event MouseEnter  Occurs when the mouse pointer enters the control. (Inherited from Control.)
Public event MouseHover  Occurs when the mouse pointer rests on the control. (Inherited from Control.)
Public event MouseLeave  Occurs when the mouse pointer leaves the control. (Inherited from Control.)
Public event MouseMove  Occurs when the mouse pointer is moved over the control. (Inherited from Control.)
Public event MouseUp  Occurs when the mouse pointer is over the control and a mouse button is released. (Inherited from Control.)
Public event MouseWheel  Occurs when the mouse wheel moves while the control has focus. (Inherited from Control.)
Public event Move  Occurs when the control is moved. (Inherited from Control.)
Public event PaddingChanged Occurs when the value of the Padding property changes.
Public event Paint Occurs when the ListView control is painted.
Public event Supported by the .NET Compact Framework ParentChanged  Occurs when the Parent property value changes. (Inherited from Control.)
Public event PreviewKeyDown  Occurs before the KeyDown event when a key is pressed while focus is on this control. (Inherited from Control.)
Public event QueryAccessibilityHelp  Occurs when AccessibleObject is providing help to accessibility applications. (Inherited from Control.)
Public event 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.)
Public event RegionChanged  Occurs when the value of the Region property changes. (Inherited from Control.)
Public event Resize  Occurs when the control is resized. (Inherited from Control.)
Public event RetrieveVirtualItem Occurs when the ListView is in virtual mode and requires a ListViewItem.
Public event RightToLeftChanged  Occurs when the RightToLeft property value changes. (Inherited from Control.)
Public event RightToLeftLayoutChanged Occurs when the value of the RightToLeftLayout property changes.
Public event SearchForVirtualItem Occurs when the ListView is in virtual mode and a search is taking place.
Public event Supported by the .NET Compact Framework SelectedIndexChanged Occurs when the index of the selected item in the list view control changes.
Public event SizeChanged  Occurs when the Size property value changes. (Inherited from Control.)
Public event StyleChanged  Occurs when the control style changes. (Inherited from Control.)
Public event SystemColorsChanged  Occurs when the system colors change. (Inherited from Control.)
Public event TabIndexChanged  Occurs when the TabIndex property value changes. (Inherited from Control.)
Public event TabStopChanged  Occurs when the TabStop property value changes. (Inherited from Control.)
Public event TextChanged Occurs when the Text property changes.
Public event Supported by the .NET Compact Framework Validated  Occurs when the control is finished validating. (Inherited from Control.)
Public event Supported by the .NET Compact Framework Validating  Occurs when the control is validating. (Inherited from Control.)
Public event VirtualItemsSelectionRangeChanged Occurs when a ListView is in virtual mode and the selection state of a range of items has changed.
Public event VisibleChanged  Occurs when the Visible property value changes. (Inherited from Control.)
Top
Show: