NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListView Methods

The methods of the ListView class are listed below. For a complete list of ListView class members, see the ListView Members topic.

Public:

ArrangeIcons Overloaded. [To be supplied.]
BeginInvoke (inherited from RichControl) Overloaded. [To be supplied.]
BeginUpdate Prevents the ListView from redrawing itself until EndUpdate is called. Calling this method before individually adding or removing a large number of ListItems will improve performance and reduce flicker on the ListView as items are being updated. Always call EndUpdate immediately after the last item is updated.
BringToFront (inherited from Control) Brings this control to the front of the zorder.
CallWndProc (inherited from Control) Dispatch the method to this window's wndProc directly.
Clear Removes all items and columns from the ListView.
Contains (inherited from Control) Checks if a control is a child of this control.
CreateControl (inherited from Control) Forces the creation of the control. This includes the creation of the handle, and any child controls.
CreateGraphics (inherited from RichControl) Overloaded. [To be supplied.]
CreateWindowGraphics (inherited from RichControl) Creates a Graphics for the entire window of the control rather than just it's client area. The controls foreground color and background color become the default values for the Graphics. The returned Graphics must be disposed through a call to its dispose() method when it is no longer needed. The Graphics Object is only valid for the duration of the current window's message.
Dispose Disposes of the component. Call dispose when the component is no longer needed. This method removes the component from its container (if the component has a site) and triggers the dispose event.
DoDragDrop (inherited from RichControl) Begins a drag operation. The allowedEffects determine which drag operations can occur. If the drag operation needs to interop with applications in another process, data should either be a base managed class (String, Bitmap, or Metafile) or some Object that implements System.ComponentModel.IPersistable. data can also be any Object that implements System.WinForms.IDataObject.
EndInvoke (inherited from RichControl) Retrieves the return value of the asynchronous operation represented by the IAsyncResult interface passed. If the async operation has not been completed, this function will block until the result is available.
EndUpdate Cancels the effect of BeginUpdate.
EnsureVisible Ensure that the item is visible, scrolling the view as necessary. @index Index of item to scroll into view
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
FindForm (inherited from RichControl) Retrieves the form that this control is on. The control's parent may not be the same as the form.
Focus (inherited from Control) Attempts to set focus to this control.
GetChildAtPoint (inherited from Control) Retrieves the child control that is located at the specified client coordinates.
GetContainer (inherited from MarshalByRefComponent) Returns the component's container.
GetContainerControl (inherited from Control) Returns the closest ContainerControl in the control's chain of parent controls and forms.
GetDesignMode (inherited from MarshalByRefComponent) Determines whether the component is currently in design mode.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetItemAt Returns the current ListItem corresponding to the specific x,y co-ordinate.
GetItemRect Overloaded. [To be supplied.]
GetItemText Returns an item's text given it's zero based index into the ListView.
GetLifetimeService (inherited from MarshalByRefObject) This method is used return a lifetime service object that is used to control the lifetime policy to the object. For the default Lifetime service this will be an object of type ILease.
GetNextControl (inherited from Control) Retrieves the next control in the tab order of child controls.
GetServiceObject (inherited from MarshalByRefComponent) The implementation of IServiceObjectProvider
GetType (inherited from Object) Gets the Type of the Object.
Hide (inherited from Control) Hides the control by setting the visible property to false;
InitializeLifetimeService (inherited from MarshalByRefObject)  
InsertColumn Overloaded. [To be supplied.]
InsertItem Overloaded. [To be supplied.]
Invalidate (inherited from Control) Overloaded. [To be supplied.]
Invoke (inherited from RichControl) Overloaded. [To be supplied.]
PerformLayout (inherited from Control) Overloaded. [To be supplied.]
PointToClient (inherited from Control) Computes the location of the screen point p in client coords.
PointToScreen (inherited from Control) Computes the location of the client point p in screen coords.
PreProcessMessage (inherited from Control) This method is called by the application's message loop to pre-process input messages before they are dispatched. Possible values for the msg.message field are WM_KEYDOWN, WM_SYSKEYDOWN, WM_CHAR, and WM_SYSCHAR. If this method processes the message it must return true, in which case the message loop will not dispatch the message. For WM_KEYDOWN and WM_SYSKEYDOWN messages, preProcessMessage() first calls processCmdKey() to check for command keys such as accelerators and menu shortcuts. If processCmdKey() doesn't process the message, then isInputKey() is called to check whether the key message represents an input key for the control. Finally, if isInputKey() indicates that the control isn't interested in the key message, then processDialogKey() is called to check for dialog keys such as TAB, arrow keys, and mnemonics. For WM_CHAR messages, preProcessMessage() first calls isInputChar() to check whether the character message represents an input character for the control. If isInputChar() indicates that the control isn't interested in the character message, then processDialogChar() is called to check for dialog characters such as mnemonics. For WM_SYSCHAR messages, preProcessMessage() calls processDialogChar() to check for dialog characters such as mnemonics. When overriding preProcessMessage(), a control should return true to indicate that it has processed the message. For messages that aren't processed by the control, the result of "base.preProcessMessage()" should be returned. Controls will typically override one of the more specialized methods (isInputChar(), isInputKey(), processCmdKey(), processDialogChar(), or processDialogKey()) instead of overriding preProcessMessage().
RectangleToClient (inherited from Control) Computes the location of the screen rectangle r in client coords.
RectangleToScreen (inherited from Control) Computes the location of the client rectangle r in screen coords.
Refresh (inherited from Control) Forces the control to invalidate and immediately repaint itself and any children.
ResetBackColor (inherited from RichControl) Resets the back color to be based on the parent's back color.
ResetBindings (inherited from RichControl) [To be supplied.]
ResetCursor (inherited from RichControl) [To be supplied.]
ResetFont (inherited from RichControl) Resets the font to be based on the parent's font.
ResetForeColor (inherited from RichControl) Resets the fore color to be based on the parent's fore color.
ResetRightToLeft (inherited from RichControl) Resets the RightToLeft to be the default.
ResetText (inherited from Control) Resets the text to it's default value.
ResumeLayout (inherited from Control) Overloaded. [To be supplied.]
Scale (inherited from Control) Overloaded. [To be supplied.]
Select (inherited from Control) Activates this control.
SelectNextControl (inherited from Control) Selects the next control following ctl.
SendMessage (inherited from Control) Overloaded. [To be supplied.]
SendToBack (inherited from Control) sends this control to the back of the z-order
SetBounds (inherited from Control) Overloaded. [To be supplied.]
SetClientSize (inherited from Control) Sets the height and width of the client area of the control.
SetLocation (inherited from Control) Sets the location of this control.
SetNewControls (inherited from Control) Performs the work of setting the array of the child controls contained in this control.
SetSize (inherited from Control) Sets the size of this control.
ShouldPersistBackColor [To be supplied.]
ShouldPersistBindings (inherited from RichControl) [To be supplied.]
ShouldPersistCursor (inherited from RichControl) Returns true if the cursor should be persisted in code gen.
ShouldPersistFont (inherited from RichControl) Returns true if the font should be persisted in code gen.
ShouldPersistForeColor (inherited from RichControl) Returns true if the foreColor should be persisted in code gen.
ShouldPersistLocation (inherited from Control) Determines if the Location property needs to be persisted.
ShouldPersistRightToLeft (inherited from RichControl) Returns true if the RightToLeft should be persisted in code gen.
ShouldPersistSize (inherited from Control) Determines if the Size property needs to be persisted.
ShouldPersistText (inherited from Control) Determines if the Text property needs to be persisted.
Show (inherited from Control) Makes the control display by setting the visible property to true
SuspendLayout (inherited from Control) Suspends the layout logic for the control.
ToString (inherited from RichControl) [To be supplied.]
Update (inherited from Control) Forces the control to paint any currently invalid areas.

Protected:

AddEventHandler (inherited from Control) [To be supplied.]
AssignParent (inherited from RichControl) Assigns a new parent control. Sends out the appropriate property change notifications for properties that are affected by the change of parent.
ChildGotFocus (inherited from Control) [To be supplied.]
CreateAccessibilityInstance (inherited from RichControl) Constructs the new instance of the accessibility object for this control. Subclasses should not call base.CreateAccessibilityObject.
CreateControlsInstance (inherited from RichControl) Constructs the new instance of the Controls collection objects. Subclasses should not call base.CreateControlsInstance.
CreateHandle (inherited from RichControl) [To be supplied.]
DefWndProc (inherited from Control) Sends the message to the default window proc.
DestroyHandle (inherited from RichControl) [To be supplied.]
Finalize (inherited from Control) [To be supplied.]
GetEventHandler (inherited from RichControl) RichControl overrides the default implementation of this for AX sourcing. ActiveX controls can "freeze" their events, and we implement this by returning null here if events are frozen.
GetStyle (inherited from Control) Retrieves the current value of the specified bit in the control's style. NOTE: This is control style, not the Win32 style of the hwnd.
InitLayout (inherited from RichControl) Called after the control has been added to another container.
InvokeGotFocus (inherited from Control) [To be supplied.]
InvokeLostFocus (inherited from Control) [To be supplied.]
InvokeOnClick (inherited from Control) [To be supplied.]
InvokePaint (inherited from RichControl) [To be supplied.]
InvokePaintBackground (inherited from RichControl) [To be supplied.]
IsInputChar (inherited from Control) Determines if charCode is an input character that the control wants. This method is called during window message pre-processing to determine whether the given input character should be pre-processed or sent directly to the control. If isInputChar returns true, the given character is sent directly to the control. If isInputChar returns false, the character is pre-processed and only sent to the control if it is not consumed by the pre-processing phase. The pre-processing of a character includes checking whether the character is a mnemonic of another control.
IsInputKey (inherited from Control) Determines if keyData is an input key that the control wants. This method is called during window message pre-processing to determine whether the given input key should be pre-processed or sent directly to the control. If isInputKey returns true, the given key is sent directly to the control. If isInputKey returns false, the key is pre-processed and only sent to the control if it is not consumed by the pre-processing phase. Keys that are pre-processed include TAB, RETURN, ESCAPE, and arrow keys.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
NotifyInvalidate (inherited from RichControl) [To be supplied.]
OnAfterLabelEdit Fires the afterLabelEdit event.
OnBeforeLabelEdit Fires the beforeLabelEdit event.
OnClick (inherited from Control) This method actually raises the Click event. Inheriting classes should override this if they wish to be notified of a Click event. (This is far preferable to actually adding an event handler.) They should not, however, forget to call base.onClick(e); before exiting, to ensure that other recipients do actually get the event.
OnColumnClick Fires the columnClick event.
OnControlAdded (inherited from Control) Called when a child control is added to this control.
OnControlRemoved (inherited from Control) Called when a child control is removed from this control.
OnCreateControl (inherited from Control) Called when the control is first created.
OnCreateHandle (inherited from RichControl) Inheriting classes should override this method to find out when the handle has been created. Call base.onCreateHandle first.
OnDestroyHandle (inherited from RichControl) Inheriting classes should override this method to find out when the handle is about to be destroyed. Call base.onDestroyHandle last.
OnDoubleClick (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onDoubleClick to send this event to any registered event listeners.
OnDragDrop (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onDragDrop to send this event to any registered event listeners.
OnDragEnter (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onDragEnter to send this event to any registered event listeners.
OnDragLeave (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onDragLeave to send this event to any registered event listeners.
OnDragOver (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onDragOver to send this event to any registered event listeners.
OnEnter (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onEnter to send this event to any registered event listeners.
OnGiveFeedback (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onGiveFeedback to send this event to any registered event listeners.
OnGotFocus (inherited from RichControl) [To be supplied.]
OnHelp (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onHelp to send this event to any registered event listeners.
OnInvalidate (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.OnInvalidate to send this event to any registered event listeners.
OnItemActivate Fires the itemActivate event.
OnItemDrag [To be supplied.]
OnKeyDown (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onKeyDown to send this event to any registered event listeners.
OnKeyPress (inherited from Control) Inheriting classes should override this method to handle this event. Call base.OnKeyPress to send this event to any registered event listeners.
OnKeyUp (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onKeyUp to send this event to any registered event listeners.
OnLayout (inherited from RichControl) Core layout logic. Inheriting controls should override this function to do any custom layout logic. It is not neccessary to call base.layoutCore, however for normal docking and anchoring functions to work, base.layoutCore must be called.
OnLeave (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onLeave to send this event to any registered event listeners.
OnLostFocus (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onLostFocus to send this event to any registered event listeners.
OnMouseDown (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseDown to send this event to any registered event listeners.
OnMouseEnter (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseEnter to send this event to any registered event listeners.
OnMouseHover (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseHover to send this event to any registered event listeners.
OnMouseLeave (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseLeave to send this event to any registered event listeners.
OnMouseMove (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseMove to send this event to any registered event listeners.
OnMouseUp (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseUp to send this event to any registered event listeners.
OnMouseWheel (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMouseWheel to send this event to any registered event listeners.
OnMove (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onMove to send this event to any registered event listeners.
OnPaint (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onPaint to send this event to any registered event listeners.
OnPaintBackground (inherited from RichControl) Inheriting classes should override this method to handle the erase background request from windows. It is not necessary to call base.onPaintBackground, however if you do not want the default Windows behavior you must set event.handled to true.
OnParentPropertyChanged (inherited from RichControl) This method is called by the parent control when any property changes on the parent. This can be overriden by inheriting classes, however they must call base.OnParentPropertyChanged.
OnPropertyChanged (inherited from RichControl) [To be supplied.]
OnQueryContinueDrag (inherited from RichControl) Inheriting classes should override this method to handle this event. Call base.onQueryContinueDrag to send this event to any registered event listeners.
OnResize (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
OnSelectedIndexChanged Actually goes and fires the selectedIndexChanged event. Inheriting controls should use this to know when the event is fired [this is preferable to adding an event handler on yourself for this event]. They should, however, remember to call base.onSelectedIndexChanged(e); to ensure the event is still fired to external listeners
OnValidated (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
OnValidating (inherited from Control) Inheriting classes should override this method to handle this event. Call base.onResize to send this event to any registered event listeners.
ParentChanged (inherited from Control) Called by the framework after a control's parent changes. This allows (for example) child controls to automatically hook events on their parent, giving better encapsulation.
ProcessCmdKey (inherited from RichControl) [To be supplied.]
ProcessDialogChar (inherited from Control) Processes a dialog character. This method is called during message pre-processing to handle dialog characters, such as control mnemonics. This method is called only if the isInputChar() method indicates that the control isn't interested in the character. processDialogChar() simply sends the character to the parent's processDialogChar() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog characters. When overriding processDialogChar(), a control should return true to indicate that it has processed the character. For characters that aren't processed by the control, the result of "base.processDialogChar()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessDialogKey (inherited from Control) Processes a dialog key. This method is called during message pre-processing to handle dialog characters, such as TAB, RETURN, ESCAPE, and arrow keys. This method is called only if the isInputKey() method indicates that the control isn't interested in the key. processDialogKey() simply sends the character to the parent's processDialogKey() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog keys. When overriding processDialogKey(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processDialogChar()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessKeyEventArgs (inherited from Control) Processes a key message. This method is called when a control receives a keyboard message. The method is responsible for generating the appropriate key events for the message by calling OnKeyPress(), onKeyDown(), or onKeyUp(). The m parameter contains the window message that must be processed. Possible values for the m.msg field are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, WM_SYSKEYUP, and WM_IMECHAR. When overriding processKeyEventArgs(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processKeyEventArgs()" should be returned. Controls will seldom, if ever, need to override this method.
ProcessKeyPreview (inherited from Control) Previews a keyboard message. This method is called by a child control when the child control receives a keyboard message. The child control calls this method before generating any keyboard events for the message. If this method returns true, the child control considers the message consumed and does not generate any keyboard events. The m parameter contains the window message to preview. Possible values for the m.msg field are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, and WM_SYSKEYUP. processKeyPreview() simply sends the character to the parent's processKeyPreview() method, or returns false if the control has no parent. The Form class overrides this method to perform actual processing of dialog keys. When overriding processKeyPreview(), a control should return true to indicate that it has processed the key. For keys that aren't processed by the control, the result of "base.processKeyEventArgs()" should be returned.
ProcessMnemonic (inherited from Control) Processes a mnemonic character. This method is called to give a control the opportunity to process a mnemonic character. The method should check if the control is in a state to process mnemonics and if the given character represents a mnemonic. If so, the method should perform the action associated with the mnemonic and return true. If not, the method should return false. Implementations of this method often use the isMnemonic() method to check if the given character matches a mnemonic in the control's text, for example:
if (canSelect() && isMnemonic(charCode, getText()) {
    // perform action associated with mnemonic
    }

This default implementation of processMnemonic() simply returns false to indicate that the control has no mnemonic.

RaiseDragEventArgs (inherited from RichControl) Raises the event associated with key with the event data of e and a sender of this control.
RaiseEvent (inherited from Control) [To be supplied.]
RaiseKeyEventArgs (inherited from Control) Raises the event associated with key with the event data of e and a sender of this control.
RaiseMouseEventArgs (inherited from Control) Raises the event associated with key with the event data of e and a sender of this control.
RaisePaintEventArgs (inherited from RichControl) Raises the event associated with key with the event data of e and a sender of this control.
RaisePropertyChangedEvent (inherited from Control) Raises the property changed event. This creates the needed event data and then calls OnPropertyChanged.
RecreateHandle (inherited from RichControl) [To be supplied.]
RemoveEventHandler (inherited from Control) [To be supplied.]
RemoveEventHandlers (inherited from Control) [To be supplied.]
ResetMouseEventArgs (inherited from Control) Resets the mouse leave listeners.
ResumeLayout (inherited from Control) Overloaded. [To be supplied.]
RTLTranslateAlignment (inherited from RichControl) Overloaded. [To be supplied.]
RTLTranslateContent (inherited from RichControl) [To be supplied.]
RTLTranslateHorizontal (inherited from RichControl) [To be supplied.]
RTLTranslateLeftRight (inherited from RichControl) [To be supplied.]
ScaleCore (inherited from Control) Performs the work of scaling the entire control and any child controls.
SendMessage (inherited from Control) Overloaded. [To be supplied.]
SetBoundsCore (inherited from RichControl) [To be supplied.]
SetClientSizeCore (inherited from Control) Performs the work of setting the size of the client area of the control.
SetStyle (inherited from Control) Sets the current value of the specified bit in the control's style. NOTE: This is control style, not the Win32 style of the hwnd.
UpdateBounds (inherited from Control) Overloaded. [To be supplied.]
UpdateExtendedStyles [To be supplied.]
UpdateStyles (inherited from Control) Forces styles to be reapplied to the handle. This function will call CreateParams to get the styles to apply.
UpdateZOrder (inherited from Control) Updates this control in it's parent's zorder.
WmSysColorChange (inherited from Control) Handles the WM_SYSCOLORCHANGE message
WndProc (inherited from RichControl) Base wndProc. All messages are sent to wndProc after getting filtered through the preProcessMessage function. Inheriting controls should call base.wndProc for any messages that they don't handle.
WndProcException (inherited from RichControl) [To be supplied.]

Event Hookup:

AddOnAfterLabelEdit Adds an event handler for the "afterLabelEdit" event notification. The afterLabelEdit event is fired when the user finishes editing the text of an item in the ListView. The labelEdit property of the ListView must be true to enable the user to do this. The string to which the user changed the text is passed to the event, and the event handler is given the opportunity to reject the change, in which case the text will revert back to what it was before the user started the change.
AddOnBeforeLabelEdit Adds an event handler for the "beforeLabelEdit" event notification. The beforeLabelEdit event is fired when the user attempts to begin changing the text of an item in the ListView. The event handler can cancel this event, in which case the user won't be allowed to edit the text. This event can be used to prevent the user from editing specific items in the ListView. If the labelEdit property of the ListView is false, this event will not be fired, and all user attempts to edit item labels will be automatically rejected.
AddOnClick (inherited from Control) Adds an event handler for the click event. The click event occurs when the user clicks in the client area of the control.
AddOnColumnClick Adds an event handler for the "columnClick" event notification. The columnClick event is fired only in Report view, when the user clicks on one of the report column headers. Typical response to such a click would be to sort the ListView items using the clicked column as the key.
AddOnControlAdded (inherited from Control) Adds an event handler for the ControlAdded event. This event is raised after a control is added as a child to this control.
AddOnControlRemoved (inherited from Control) Adds an event handler for the ControlRemoved event. This event is raised after a child control is removed from this control.
AddOnCreateHandle (inherited from Control) Adds an event handler for the createHandle event. The createHandle event occurs immediately after the control's handle is created.
AddOnDestroyHandle (inherited from Control) Adds an event handler for the destroyHandle event. The destroyHandle event occurs immediately before the control's handle is destroyed.
AddOnDoubleClick (inherited from Control) Adds an event handler for the doubleClick event. The doubleClick event occurs when the user double clicks in the client area of the control.
AddOnDragDrop (inherited from RichControl) Adds an event handler for the dragDrop event. The dragDrop evnet occurs when the user releases the mouse button while dragging some Object over the control.
AddOnDragEnter (inherited from RichControl) Adds an event handler for the dragEnter event. The drawEnter event occurs when the user first moves the mouse over the control while dragging some Object.
AddOnDragLeave (inherited from RichControl) Adds an event handler for the dragLeave event. The dragLeave event occurs when the user first moves the mouse out of the control while dragging some Object.
AddOnDragOver (inherited from RichControl) Adds an event handler for the dragOver event. The dragOver event occurs whenever the user moves the mouse over the control while draggin some Object.
AddOnEnter (inherited from Control) Adds an event handler for the enter event. The enter event occurs when focus enters this control. This doesn't imply that this control has focus, but rather that this control or some child control of this control has gotten focus.
AddOnGiveFeedback (inherited from RichControl) Adds an event handler for the giveFeedback event. The giveFeedback event occurs during a drag operation. This allows the source of a drag event to modify the mouse pointer to give the user visual feedback as to what would happen if they droped.
AddOnGotFocus (inherited from Control) Adds an event handler for the gotFocus event. The gotFocus event occurs when the this control gains focus.
AddOnHelp (inherited from RichControl) Adds an event handler for the help event. The help event occurs when the user requests help for this control. This may be caused by the user pressing F1, or used "Whats This Help".
AddOnInvalidate (inherited from RichControl) Adds an event handler for the invalidate event. The invalidate event occurs when the Invalidate method is called on some part of the control's client area. This event may be used to identify when the contents of a window have changed.
AddOnItemActivate Adds an event handler for the "itemActivate" event notification The itemActivate event is fired when the user activates one or more items. Activation may be accomplished by either a single or double click, depending on the value of the activation property, or with the keyboard. The event handler should call getSelectedItems to determine which items are being activated.
AddOnItemCheck Adds an event handler for the "itemCheck" event notification. This event is called whenever the check state of an item changes. NOTE: The value is not updated until after the event. Duplicates adds are not filtered out.
AddOnItemDrag Adds an event handler for the "itemDrag" event notification The itemDrag event is fired when the user presses the left or right mouse button over an item and begins to move the mouse. A typical response to this event would be to call doDragDrop.
AddOnKeyDown (inherited from Control) Adds an event handler for the keyDown event. The keyDown event occurs when the user presses a key down.
AddOnKeyPress (inherited from Control) Adds an event handler for the keyPress event. The keyPress event occurs when the user presses a key.
AddOnKeyUp (inherited from Control) Adds an event handler for the keyUp event. The keyUp event occurs when the user releases a key.
AddOnLayout (inherited from Control) Adds an event handler for the layout event. The layout event occurs when any event occurs that would cause the control to layout child controls. These events include; resize, show/hide child controls, add/remove child controls. This event should be used to perform any custom layout logic.
AddOnLeave (inherited from Control) Adds an event handler for the leave event. The leave event occurs when focus leaves this control. This doesn't imply that this control lost focus, but rather that focus has been moved out of this control and any child controls.
AddOnLostFocus (inherited from Control) Adds an event handler for the lostFocus event. The lostFocus event occurs when this control looses focus.
AddOnMouseDown (inherited from Control) Adds an event handler for the mouseDown event. The mouseDown event occurs when the user presses the mouseDown over this control.
AddOnMouseEnter (inherited from Control) Adds an event handler for the mouseEnter event. The mouseEnter event occurs when the mouse first moves over this control.
AddOnMouseHover (inherited from Control) Adds an event handler for the mouseHover event. The mouseHover event occurs after the mouse is inside a control for an amount.
AddOnMouseLeave (inherited from Control) Adds an event handler for the mouseLeave event. The mouseLeave event occurs when the mouse first moves out of this control.
AddOnMouseMove (inherited from Control) Adds an event handler for the mouseMove event. The mouseMove event occurs whenever the user moves the mouse over this control.
AddOnMouseUp (inherited from Control) Adds an event handler for the mouseUp event. The mouseUp event occurs when the user releases a mouse button inside the control.
AddOnMouseWheel (inherited from Control) Adds an event handler for the mouseWheel event. The mouseWheel event occurs when the user scrolls the mouse wheel up or down. The delta value in the event data indicates the amount that the mouse wheel has moved. The Microsoft standards indicate that the view should scroll by System.WinForms.SystemInformation.getMouseWheelScrollLines() when the delta value has reach win.WHEEL_DELTA. If a mouseWheel event occurs with a value less that WHEEL_DELTA, the control should either increment a stored value and wait until the total delta is an increment of WHEEL_DELTA, or scroll the view a percentage of MouseWheelScrollLines. NOTE: A press of the mouseWheel will generate a mouseDown event with the middle button pressed.
AddOnMove (inherited from Control) Adds an event handler for the move event. The move event occurs when the controls location changes.
AddOnPaint (inherited from RichControl) Adds an event handler for the paint event. The paint event occurs when the control needs to paint some part of it's client area.
AddOnPropertyChanged (inherited from Control) Adds an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.
AddOnQueryContinueDrag (inherited from RichControl) Adds an event handler for the queryContinueDrag event. The queryContinueDrag event occurs during a drag operation. This allows the drag source to determine if the drag operation should be canceled.
AddOnResize (inherited from Control) Adds an event handler for the resize event. The resize event occurs when the bounds of the control change. This event may be fired from the constructor of base controls.
AddOnSelectedIndexChanged Adds an event handler for the "selectedIndexChanged" event notification. This event is sent whenever the selection changes, one for each item whose selection state changes. Duplicates are not filtered out.
AddOnValidated (inherited from Control) Adds an event handler for the validated event. The validated event occurs when a control was successfully validated.
AddOnValidating (inherited from Control) Adds an event handler for the validating event. The validating event occurs when the control loses focus and a control that causes validation gains focus. This is where users can write code to validate the current values of the control.
RemoveOnAfterLabelEdit Removes the given handler for the afterLabelEdit event.
RemoveOnBeforeLabelEdit Removes the given handler for the beforeLabelEdit event.
RemoveOnClick (inherited from Control) Removes the given handler for the "OnClick" event. If there are duplicate entries, ALL are removed.
RemoveOnColumnClick Removes the given handler for the columnClick event.
RemoveOnControlAdded (inherited from Control) Removes the given handler for the "ControlAdded" event. If there are duplicate entries, ALL are removed.
RemoveOnControlRemoved (inherited from Control) Removes the given handler for the "ControlRemoved" event. If there are duplicate entries, ALL are removed.
RemoveOnCreateHandle (inherited from Control) Removes the given handler for the "createHandle" event. If there are duplicate entries, ALL are removed.
RemoveOnDestroyHandle (inherited from Control) Removes the given handler for the "destroyHandle" event. If there are duplicate entries, ALL are removed.
RemoveOnDoubleClick (inherited from Control) Removes the given handler for the "OnDoubleClick" event. If there are duplicate entries, ALL are removed.
RemoveOnDragDrop (inherited from RichControl) Removes the given handler for the "dragDrop" event. If there are duplicate entries, ALL are removed.
RemoveOnDragEnter (inherited from RichControl) Removes the given handler for the "OnDragEnter" event. If there are duplicate entries, ALL are removed.
RemoveOnDragLeave (inherited from RichControl) Removes the given handler for the "OnDragLeave" event. If there are duplicate entries, ALL are removed.
RemoveOnDragOver (inherited from RichControl) f final Removes the given handler for the "OnDragOver" event. If there are duplicate entries, ALL are removed.
RemoveOnEnter (inherited from Control) Removes the given handler for the "OnEnter" event. If there are dfinal uplicate entries, ALL are removed.
RemoveOnGiveFeedback (inherited from RichControl) Removes the given handler for the "OnGiveFeedback" event. If there are duplicate entries, ALL are removed.
RemoveOnGotFocus (inherited from Control) Removes the given handler for the "OnGotFocus" event. If there are duplicate entries, ALL are removed.
RemoveOnHelp (inherited from RichControl) Removes the given handler for the "OnHelp" event. If there are duplicate entries, ALL are removed.
RemoveOnInvalidate (inherited from RichControl) Removes the given handler for the "OnInvalidate" event. If there are duplicate entries, ALL are removed.
RemoveOnItemActivate Removes the given handler for the itemActivate event.
RemoveOnItemCheck Removes the given handler for the itemCheck event. If there are duplicate entries, ALL are removed.
RemoveOnItemDrag [To be supplied.]
RemoveOnKeyDown (inherited from Control) Removes the given handler for the "OnKeyDown" event. If there are duplicate entries, ALL are removed.
RemoveOnKeyPress (inherited from Control) Removes the given handler for the "OnKeyPress" event. If there are duplicate entries, ALL are removed.
RemoveOnKeyUp (inherited from Control) Removes the given handler for the "OnKeyUp" event. If there are duplicate entries, ALL are removed.
RemoveOnLayout (inherited from Control) Removes the given handler for the layout event. If there are duplicate entries, ALL are removed.
RemoveOnLeave (inherited from Control) Removes the given handler for the "OnLeave" event. If there are duplicate entries, ALL are removed.
RemoveOnLostFocus (inherited from Control) Removes the given handler for the "OnLostFocus" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseDown (inherited from Control) Removes the given handler for the "OnMouseDown" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseEnter (inherited from Control) Removes the given handler for the "OnMouseEnter" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseHover (inherited from Control) Removes the given handler for the "OnMouseHover" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseLeave (inherited from Control) Removes the given handler for the "OnMouseLeave" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseMove (inherited from Control) Removes the given handler for the "OnMouseMove" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseUp (inherited from Control) Removes the given handler for the "OnMouseUp" event. If there are duplicate entries, ALL are removed.
RemoveOnMouseWheel (inherited from Control) Removes the given handler for the "OnMouseWheel" event. If there are duplicate entries, ALL are removed.
RemoveOnMove (inherited from Control) Removes the given handler for the "OnMove" event. If there are duplicate entries, ALL are removed.
RemoveOnPaint (inherited from RichControl) Removes the given handler for the "OnPaint" event. If there are duplicate entries, ALL are removed.
RemoveOnPropertyChanged (inherited from Control) Removes an event handler for the property changed event. This event occurs when any property on the control has been changed for any reason.
RemoveOnQueryContinueDrag (inherited from RichControl) Removes the given handler for the "OnQueryContinueDrag" event. If there are duplicate entries, ALL are removed.
RemoveOnResize (inherited from Control) Removes the given handler for the "OnResize" event. If there are duplicate entries, ALL are removed.
RemoveOnSelectedIndexChanged Removes the given handler for the selectedIndexChanged event. If there are duplicate entries, ALL are removed.
RemoveOnValidated (inherited from Control) Removes an event handler for the validated event. The validated event occurs when a control was successfully validated.
RemoveOnValidating (inherited from Control) Removes an event handler for the validating event. The validating event occurs when the control loses focus and a control that causes validation gains focus. This is where users can write code to validate the current values of the control.

See Also

ListView Class | System.WinForms Namespace