ListView Methods |
The ListView type exposes the following members.
Name | Description | |
---|---|---|
Activate |
Provide a method that is invoked when the control has focus and a window is activated. (Inherited from Control.) | |
AddColumn |
Add a new ListViewColumn object to the end of the list view's list of columns.
| |
AddGroup |
Set an image as the background to the list view.
| |
AddItem |
Add a new ListViewItem object as the last item in the list view.
| |
Arrange |
Align list view items while in icon view.
| |
AsString |
Return the contents of the control (or its identifying label).
(Inherited from Control.) | |
Create |
Creates the underlying Win32 control
(Inherited from TextControl.) | |
Deactivate |
Provide a method that is invoked when the control has focus and a window is deactivated. (Inherited from Control.) | |
DEFAULT | Call the default windows procedure for a control and set the EventReturnValue. (Inherited from Control.) | |
DeleteAll |
Delete all items of the list view.
| |
DeleteAllColumns |
Delete all columns from a list view.
| |
DeleteColumn |
Delete a ListViewColumn object from the list view.
| |
DeleteItem |
Delete a ListViewItem object from the list view.
| |
Destroy |
Provide a method to de-instantiate any TextControl.Destroy object.
(Overrides Destroy.) | |
Disable |
Disable a control (until a subsequent call to Control:Enable()).
(Inherited from Control.) | |
DisableTheme |
Disable the WinXP theme for a control.
(Inherited from Control.) | |
Dispatch |
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.) | |
EditItemLabel |
Begins in-place label editing of an item in the list view.
| |
Enable |
Enable a control that was previously disabled.
(Inherited from Control.) | |
EnableDragDrop |
Enable or disable drag and drop of items for the list view.
| |
EnableGroupView |
Set Group View on or off in a ListView control.
| |
EnableSort |
Register a user-defined method to use for sorting items in the list view.
| |
EnsureVisible |
Ensure that an item is visible in the list view, scrolling if necessary.
| |
Expose |
Provide a method that is invoked when the control has focus and whenever part of the window needs repainting. (Inherited from Control.) | |
FocusChange |
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.) | |
Font |
Change the current font of the text control.
(Inherited from TextControl.) | |
GetAllItems |
Get an array with all the Listview Items
| |
GetAllSelectedItems |
Get an array with all the selected Listview Items
| |
GetColumn |
Return a particular ListViewColumn object.
| |
GetExStyle |
Retrieve the Ex styles for the control.
(Inherited from Control.) | |
GetGroupTextColor |
Get the text color used for the headings when displaying a ListView control by group.
| |
GetItemAtPosition |
Return a ListViewItem object at a particular position, if one exists.
| |
GetItemAttributes |
Return a ListViewItem object given its item index.
| |
GetItemBoundingBox |
Return the bounding box of a ListViewItem object given its item index.
| |
GetItemPosition |
Return the origin of a ListViewItem object given its item index.
| |
GetItemSpacing |
Return the spacing between list view items in icon view or small icon view.
| |
GetNextItem |
Retrieve the next list view item that possesses all of the specified properties.
| |
GetSelectedItem |
Retrieve the currently selected ListViewItem object.
| |
GetStyle |
Retrieve the styles for the control.
(Inherited from Control.) | |
Handle |
Return the handle for a control.
(Inherited from Control.) | |
HasBorder | Check if a border has been set for the control (Inherited from Control.) | |
HasGroup |
A logical value to determine if the group with the specified ID exists in a ListView control.
| |
HasStyle | Check if a style value has been set for the control (Inherited from Control.) | |
Hide |
Hide a control so it is not visible (until a subsequent call to Control:Show()).
(Inherited from Control.) | |
HorizontalScroll |
Provide a method that is invoked when the control has focus and a horizontal scroll bar is scrolled. (Inherited from Control.) | |
Ime |
Return and optionally set whether Input Method Editor is enabled for this text control.
(Inherited from TextControl.) | |
InsertColumn |
Insert a new ListViewColumn object after a particular column index in the list view.
| |
InsertItem |
Insert a new ListViewItem object after a particular item index in the list view.
| |
IsEnabled |
Report if this control is currently enabled.
(Inherited from Control.) | |
IsExStyle | Check if a exstyle value has been set for the control (Inherited from Control.) | |
IsReadOnly |
Report if this control is currently readonly.
(Inherited from Control.) | |
IsStyle | Check if a style value has been set for the control (Inherited from Control.) | |
IsVisible |
Report if this control is visible (completely or partially) or hidden.
(Inherited from Control.) | |
KeyDown |
Provide a method that is invoked when the control has focus and a key on the keyboard is pressed. (Inherited from Control.) | |
KeyUp |
Provide a method that is invoked when the control has focus and a key on the keyboard is released. (Inherited from Control.) | |
LinkDF |
Connect a control to a data field in a data server.
(Inherited from Control.) | |
MenuInit |
Provide a method that is invoked when a pop-up menu owned by the control is about to pop up.
(Inherited from Control.) | |
MenuSelect |
Provide a method that is invoked when an item on a menu owned by the control is highlighted.
(Inherited from Control.) | |
MouseButtonDoubleClick |
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.) | |
MouseButtonDown |
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.) | |
MouseButtonUp |
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.) | |
MouseDrag |
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.) | |
MouseMove |
Provide a method that is invoked when the control has focus and the mouse is moved in the control.
(Inherited from Control.) | |
Move |
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.) | |
OverRide | This is a compatibility method that is no longer used or needed. (Inherited from Control.) | |
PerformValidations |
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.) | |
RedrawRange |
Redraw a range of list view items.
| |
RegisterTimer |
Register a timer method to be invoked for the control.
(Inherited from Control.) | |
RemoveAllGroups |
Remove all groups from a ListView control.
| |
RemoveEditBalloonTip |
Removes the current BallonTip from the Edit control that has inherited from this class.
(Inherited from TextControl.) | |
RemoveGroup |
Remove the group with the specified ID from a ListView control.
| |
RePaint |
Send an ExposeEvent to repaint the control
(Inherited from Control.) | |
Resize |
Provide a method that is invoked when the control has focus and the control changes size.
(Inherited from Control.) | |
RestoreUpdate |
Resume all drawing updates for a control (after Control:SuspendUpdate() is called).
(Inherited from Control.) | |
Scroll |
Scroll the contents of a list view.
| |
Seek |
Search the list view for a particular list view item.
| |
SelectItem |
Select or deselect a specific item in a list view.
| |
SelectNextItem |
Select the next list view item after the currently selected item.
| |
SetBackgroundImage |
Set an image as the background to the list view.
| |
SetColumnFormat |
Set the desired extended style for a list view.
| |
SetCueBanner |
Add a cue banner to the Edit control that has inherited from this class.
(Inherited from TextControl.) | |
SetExStyle |
Set the exstyle for the control.
(Inherited from Control.) | |
SetFocus |
Pass input focus to a control, thereby directing all mouse and keyboard input to the control.
(Inherited from Control.) | |
SetGroupName |
Set the name of a list view group.
| |
SetGroupTextColor |
Set the text color to be used for the headings when displaying a ListView control by group.
| |
SetItemAttributes |
Update a ListViewItem object with new attributes.
| |
SetItemGroupId |
A logical value to determine if the group with the specified ID exists in a ListView control.
| |
SetItemPosition |
Move a list view item to a new position in icon view or small icon view.
| |
SetParent |
Change the parent handle for the control.
(Inherited from Control.) | |
SetSelectedColumn |
Show column as selected.
| |
SetStyle |
Set the style for the control.
(Inherited from Control.) | |
Show |
Display a control so it is visible.
(Inherited from Control.) | |
ShowEditBalloonTip |
Add a BallonTip to the Edit control that has inherited from this class.
(Inherited from TextControl.) | |
SortItems |
Sort the list view items using the user-defined sort method specified by EnableSort().
| |
SuspendUpdate |
Temporarily suspend all drawing updates for a control; drawing resumes with a call to Control:RestoreUpdate().
(Inherited from Control.) | |
Timer |
Provide a method to be invoked at specific intervals defined when the timer is registered though the RegisterTimer() method.
(Inherited from Control.) | |
Update |
Update a list view item.
| |
ValidateControl | This method validates if the control has been created and when not then it triggers the control creation (Inherited from Control.) | |
VerticalScroll |
Provide a method that is invoked when the control has focus and a vertical scroll bar is scrolled.
(Inherited from Control.) | |
ViewAs |
Change the current view of the list view.
|