Click or drag to resize

DataListView Methods

X#

The DataListView type exposes the following members.

Functions
  NameDescription
Public methodActivate
Provide a method that is invoked when the control has focus and a window is activated.

(Inherited from Control.)
Public methodCode exampleAddColumn
Add a new ListViewColumn object to the end of the list view's list of columns.
(Inherited from ListView.)
Public methodAddGroup
Set an image as the background to the list view.
(Inherited from ListView.)
Public methodCode exampleAddItem
Add a new ListViewItem object as the last item in the list view.
(Inherited from ListView.)
Public methodArrange
Align list view items while in icon view.
(Inherited from ListView.)
Public methodAsString
Return the contents of the control (or its identifying label).
(Inherited from Control.)
Public methodCreate
Creates the underlying Win32 control
(Inherited from TextControl.)
Public methodDeactivate
Provide a method that is invoked when the control has focus and a window is deactivated.

(Inherited from Control.)
Public methodDEFAULT
Call the default windows procedure for a control and set the EventReturnValue.
(Inherited from Control.)
Public methodDeleteAll
Delete all items in a data list view.
(Overrides DeleteAll.)
Public methodDeleteAllColumns
Delete all columns from a list view.
(Inherited from ListView.)
Public methodDeleteColumn
Delete a ListViewColumn object from the list view.
(Inherited from ListView.)
Public methodDeleteItem
Delete a ListViewItem object from the list view.
(Inherited from ListView.)
Public methodDestroy
Provide a method to de-instantiate a DataListView object.
(Overrides Destroy.)
Public methodDisable
Disable a control (until a subsequent call to Control:Enable()).
(Inherited from Control.)
Public methodDisableTheme
Disable the WinXP theme for a control.
(Inherited from Control.)
Public methodDispatch
Provide the prototype dispatcher for events within the system when the control has focus; routing various events to their appropriate event handlers.

(Inherited from Control.)
Public methodEditItemLabel
Begins in-place label editing of an item in the list view.
(Inherited from ListView.)
Public methodEnable
Enable a control that was previously disabled.
(Inherited from Control.)
Public methodEnableDragDrop
Enable or disable drag and drop of items for the list view.
(Inherited from ListView.)
Public methodEnableGroupView
Set Group View on or off in a ListView control.
(Inherited from ListView.)
Public methodEnableSort
Register a user-defined method to use for sorting items in the list view.
(Inherited from ListView.)
Public methodEnsureVisible
Ensure that an item is visible in the list view, scrolling if necessary.
(Inherited from ListView.)
Public methodExpose
Provide a method that is invoked when the control has focus and whenever part of the window needs repainting.

(Inherited from Control.)
Public methodFIELDGET
Public methodFocusChange
Provide a method that is invoked when the control has focus and the input focus changes from the current control to another (or vice versa).

(Inherited from Control.)
Public methodFont
Change the current font of the text control.
(Inherited from TextControl.)
Public methodGetAllItems
Get an array with all the Listview Items
(Inherited from ListView.)
Public methodGetAllSelectedItems
Get an array with all the selected Listview Items
(Inherited from ListView.)
Public methodGetColumn
Return a particular ListViewColumn object.
(Inherited from ListView.)
Public methodGetExStyle
Retrieve the Ex styles for the control.
(Inherited from Control.)
Public methodGetGroupTextColor
Get the text color used for the headings when displaying a ListView control by group.
(Inherited from ListView.)
Public methodGetItemAtPosition
Return a ListViewItem object at a particular position, if one exists.
(Inherited from ListView.)
Public methodCode exampleGetItemAttributes
Return a ListViewItem object given its item index.
(Inherited from ListView.)
Public methodGetItemBoundingBox
Return the bounding box of a ListViewItem object given its item index.
(Inherited from ListView.)
Public methodGetItemPosition
Return the origin of a ListViewItem object given its item index.
(Inherited from ListView.)
Public methodGetItemSpacing
Return the spacing between list view items in icon view or small icon view.
(Inherited from ListView.)
Public methodCode exampleGetNextItem
Retrieve the next list view item that possesses all of the specified properties.
(Inherited from ListView.)
Public methodGetSelectedItem
Retrieve the currently selected ListViewItem object.
(Inherited from ListView.)
Public methodGetStyle
Retrieve the styles for the control.
(Inherited from Control.)
Public methodHandle
Return the handle for a control.
(Inherited from Control.)
Public methodHasBorder
Check if a border has been set for the control
(Inherited from Control.)
Public methodHasGroup
A logical value to determine if the group with the specified ID exists in a ListView control.
(Inherited from ListView.)
Public methodHasStyle
Check if a style value has been set for the control
(Inherited from Control.)
Public methodHide
Hide a control so it is not visible (until a subsequent call to Control:Show()).
(Inherited from Control.)
Public methodHorizontalScroll
Provide a method that is invoked when the control has focus and a horizontal scroll bar is scrolled.

(Inherited from Control.)
Public methodIme
Return and optionally set whether Input Method Editor is enabled for this text control.
(Inherited from TextControl.)
Public methodInsertColumn
Insert a new ListViewColumn object after a particular column index in the list view.
(Inherited from ListView.)
Public methodInsertItem
Insert a new ListViewItem object after a particular item index in the list view.
(Inherited from ListView.)
Public methodIsEnabled
Report if this control is currently enabled.
(Inherited from Control.)
Public methodIsExStyle
Check if a exstyle value has been set for the control
(Inherited from Control.)
Public methodIsReadOnly
Report if this control is currently readonly.
(Inherited from Control.)
Public methodIsStyle
Check if a style value has been set for the control
(Inherited from Control.)
Public methodIsVisible
Report if this control is visible (completely or partially) or hidden.
(Inherited from Control.)
Public methodKeyDown
Provide a method that is invoked when the control has focus and a key on the keyboard is pressed.

(Inherited from Control.)
Public methodKeyUp
Provide a method that is invoked when the control has focus and a key on the keyboard is released.

(Inherited from Control.)
Public methodLinkDF
Connect a control to a data field in a data server.
(Inherited from Control.)
Public methodMenuInit
Provide a method that is invoked when a pop-up menu owned by the control is about to pop up.
(Inherited from Control.)
Public methodMenuSelect
Provide a method that is invoked when an item on a menu owned by the control is highlighted.
(Inherited from Control.)
Public methodMouseButtonDoubleClick
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is double-clicked.

(Inherited from Control.)
Public methodMouseButtonDown
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is clicked.

(Inherited from Control.)
Public methodMouseButtonUp
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is released.
(Inherited from Control.)
Public methodMouseDrag
Provide a method that is invoked when the control has focus and a mouse with one or more buttons clicked is moved in the window.
(Inherited from Control.)
Public methodMouseMove
Provide a method that is invoked when the control has focus and the mouse is moved in the control.
(Inherited from Control.)
Public methodMove
Provide a method that is invoked when the control has focus and the control is moved (either by the user or by the application).
(Inherited from Control.)
Public methodNotify
Provide an event handler that reflects events that have occurred in the server connected to this data list view.
Public methodOverRide
This is a compatibility method that is no longer used or needed.
(Inherited from Control.)
Public methodPerformValidations
Perform all the validations defined to this control's field specification (for example, required, maximum and minimum digits, maximum and minimum value, validation rule) and return the result of the test.
(Inherited from Control.)
Public methodRedrawRange
Redraw a range of list view items.
(Inherited from ListView.)
Public methodRefresh
Force the contents of the data list view to be updated from the data server.
Public methodRegisterTimer
Register a timer method to be invoked for the control.
(Inherited from Control.)
Public methodRemoveAllGroups
Remove all groups from a ListView control.
(Inherited from ListView.)
Public methodRemoveEditBalloonTip
Removes the current BallonTip from the Edit control that has inherited from this class.
(Inherited from TextControl.)
Public methodRemoveGroup
Remove the group with the specified ID from a ListView control.
(Inherited from ListView.)
Public methodRePaint
Send an ExposeEvent to repaint the control
(Inherited from Control.)
Public methodResize
Provide a method that is invoked when the control has focus and the control changes size.
(Inherited from Control.)
Public methodRestoreUpdate
Resume all drawing updates for a control (after Control:SuspendUpdate() is called).
(Inherited from Control.)
Public methodScroll
Scroll the contents of a list view.
(Inherited from ListView.)
Public methodSeek
Search the list view for a particular list view item.
(Inherited from ListView.)
Public methodSelectItem
Select or deselect a specific item in a list view.
(Inherited from ListView.)
Public methodSelectNextItem
Select the next list view item after the currently selected item.
(Inherited from ListView.)
Public methodSetBackgroundImage
Set an image as the background to the list view.
(Inherited from ListView.)
Public methodSetColumnFormat
Set the desired extended style for a list view.
(Inherited from ListView.)
Public methodSetCueBanner
Add a cue banner to the Edit control that has inherited from this class.
(Inherited from TextControl.)
Public methodSetExStyle
Set the exstyle for the control.
(Inherited from Control.)
Public methodSetFocus
Pass input focus to a control, thereby directing all mouse and keyboard input to the control.
(Inherited from Control.)
Public methodSetGroupName
Set the name of a list view group.
(Inherited from ListView.)
Public methodSetGroupTextColor
Set the text color to be used for the headings when displaying a ListView control by group.
(Inherited from ListView.)
Public methodCode exampleSetItemAttributes
Update a ListViewItem object with new attributes.
(Inherited from ListView.)
Public methodSetItemGroupId
A logical value to determine if the group with the specified ID exists in a ListView control.
(Inherited from ListView.)
Public methodSetItemPosition
Move a list view item to a new position in icon view or small icon view.
(Inherited from ListView.)
Public methodSetParent
Change the parent handle for the control.
(Inherited from Control.)
Public methodSetSelectedColumn
Show column as selected.
(Inherited from ListView.)
Public methodSetStyle
Set the style for the control.
(Inherited from Control.)
Public methodShow
Display a control so it is visible.
(Inherited from Control.)
Public methodShowEditBalloonTip
Add a BallonTip to the Edit control that has inherited from this class.
(Inherited from TextControl.)
Public methodSortItems
Sort the list view items using the user-defined sort method specified by EnableSort().
(Inherited from ListView.)
Public methodSuspendUpdate
Temporarily suspend all drawing updates for a control; drawing resumes with a call to Control:RestoreUpdate().
(Inherited from Control.)
Public methodTimer
Provide a method to be invoked at specific intervals defined when the timer is registered though the RegisterTimer() method.
(Inherited from Control.)
Public methodUpdate
Update a list view item.
(Inherited from ListView.)
Public methodUse
Associate a data server with the data list view.
Public methodValidateControl
This method validates if the control has been created and when not then it triggers the control creation
(Inherited from Control.)
Public methodVerticalScroll
Provide a method that is invoked when the control has focus and a vertical scroll bar is scrolled.
(Inherited from Control.)
Public methodViewAs
Change the current view of the list view.
(Inherited from ListView.)
Top
See Also