Redigera

Dela via


ListView Control (Windows Forms)

The Windows Forms ListView control displays a list of items with icons. You can use a list view to create a user interface like the right pane of Windows Explorer.

In This Section

ListView Control Overview
Describes this control and its key features and properties.

How to: Add and Remove Items with the Windows Forms ListView Control
Describes how to add or remove items from a list view.

How to: Add Columns to the Windows Forms ListView Control
Describes how to create columns in order to display information about each list item.

How to: Display Icons for the Windows Forms ListView Control
Describes how to associate a list view with an appropriate image list for displaying large or small icons.

How to: Display Subitems in Columns with the Windows Forms ListView Control
Describes how to display information about each list item in columns.

How to: Select an Item in the Windows Forms ListView Control
Describes how to programmatically select an item.

How to: Group Items in a Windows Forms ListView Control
Describes how to create groups for categorized display and how to assign items to each group.

How to: Enable Tile View in a Windows Forms ListView Control
Describes how to display items as tiles, each of which is comprised of a large icon and multiple lines of text.

How to: Display an Insertion Mark in a Windows Forms ListView Control
Describes how to implement user-feedback for drag-and-drop operations in which an insertion mark indicates the drop location for each mouse-pointer position.

How to: Add Search Capabilities to a ListView Control
Describes how to programmatically find an item using either text search or screen coordinates.

Reference

ListView class
Describes this class and has links to all its members.

How to: Add Custom Information to a TreeView or ListView Control (Windows Forms)
Describes how to inherit from an item in a list view or a node in a tree view in order to add any fields, methods, or constructors you need.

ImageList Component
Explains what an image list is and its key features and properties.

How to: Create a Multipane User Interface with Windows Forms
Gives instructions for laying out a Windows Form with multiple panes.

See also