System.Windows.Forms.ListView: Property Members

The properties of System.Windows.Forms.ListView are listed below. For a list of all members, see the ListView Members list.

See Also: Inherited members from System.Windows.Forms.Control

Public Properties

ActivationItemActivation.

Gets or sets the type of action the user must take to activate an item.

AlignmentListViewAlignment.

Gets or sets the alignment of items in the control.

AllowColumnReorderbool.

Gets or sets a value indicating whether the user can drag column headers to reorder columns in the control.

AutoArrangebool.

Gets or sets whether icons are automatically kept arranged.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color.

BackgroundImageSystem.Drawing.Image. Documentation for this section has not yet been entered.
override
BackgroundImageLayoutImageLayout.

Gets or sets an System.Windows.Forms.ImageLayout value.

BackgroundImageTiledbool.

Gets or sets a value indicating whether the background image of the System.Windows.Forms.ListView should be tiled.

BorderStyleBorderStyle.

Gets or sets the border style of the control.

CheckBoxesbool.

Gets or sets a value indicating whether a check box appears next to each item in the control.

[read-only]
CheckedIndicesListView.CheckedIndexCollection.

Gets the indexes of the currently checked items in the control.

[read-only]
CheckedItemsListView.CheckedListViewItemCollection.

Gets the currently checked items in the control.

[read-only]
ColumnsListView.ColumnHeaderCollection.

Gets the collection of all column headers that appear in the control.

FocusedItemListViewItem.

Gets or sets the item in the control that currently has focus.

override
ForeColorSystem.Drawing.Color.

Gets or sets the foreground color.

FullRowSelectbool.

Gets or sets a value indicating whether clicking an item selects all its subitems.

GridLinesbool.

Gets or sets a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control.

[read-only]
GroupsListViewGroupCollection.

Gets the collection of System.Windows.Forms.ListViewGroup objects assigned to the control.

HeaderStyleColumnHeaderStyle.

Gets or sets the column header style.

HideSelectionbool.

Gets or sets a value indicating whether the selected item in the control remains highlighted when the control loses focus.

HotTrackingbool.

Gets or sets a value indicating whether the text of an item or subitem has the appearance of a hyperlink when the mouse pointer passes over it.

HoverSelectionbool.

Gets or sets a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds.

[read-only]
InsertionMarkListViewInsertionMark.

Gets an object used to indicate the expected drop location when an item is dragged within a System.Windows.Forms.ListView control.

[read-only]
ItemsListView.ListViewItemCollection.

Gets a collection containing all items in the control.

LabelEditbool.

Gets or sets a value indicating whether the user can edit the labels of items in the control.

LabelWrapbool.

Gets or sets a value indicating whether item labels wrap when items are displayed in the control as icons.

LargeImageListImageList.

Gets or sets the System.Windows.Forms.ImageList to use when displaying items as large icons in the control.

ListViewItemSorterIComparer.

Gets or sets the sorting comparer for the control.

MultiSelectbool.

Gets or sets a value indicating whether multiple items can be selected.

OwnerDrawbool.

Gets or sets a value indicating whether the System.Windows.Forms.ListView control is drawn by the operating system or by code that you provide.

PaddingPadding.

Gets or sets the space between the System.Windows.Forms.ListView control and its contents.

RightToLeftLayoutbool.

Gets or sets a value indicating whether the control is laid out from right to left.

Scrollablebool.

Gets or sets a value indicating whether a scroll bar is added to the control when there is not enough room to display all items.

[read-only]
SelectedIndicesListView.SelectedIndexCollection.

Gets the indexes of the selected items in the control.

[read-only]
SelectedItemsListView.SelectedListViewItemCollection.

Gets the items that are selected in the control.

ShowGroupsbool.

Gets or sets a value indicating whether items are displayed in groups.

ShowItemToolTipsbool.

Gets or sets a value indicating whether ToolTips are shown for the System.Windows.Forms.ListViewItem objects contained in the System.Windows.Forms.ListView.

SmallImageListImageList.

Gets or sets the System.Windows.Forms.ImageList to use when displaying items as small icons in the control.

SortingSortOrder.

Gets or sets the sort order for items in the control.

StateImageListImageList.

Gets or sets the System.Windows.Forms.ImageList associated with application-defined states in the control.

override
Textstring.

This property is not relevant for this class.

TileSizeSystem.Drawing.Size.

Gets or sets the size of the tiles shown in tile view.

TopItemListViewItem.

Gets or sets the first visible item in the control.

UseCompatibleStateImageBehaviorbool.

Gets or sets a value indicating whether the System.Windows.Forms.ListView uses state image behavior that is compatible with the dnprdnshort 1.1 or the dnprdnshort 2.0.

ViewView.

Gets or sets how items are displayed in the control.

VirtualListSizeint.

Gets or sets the number of System.Windows.Forms.ListViewItem objects contained in the list when in virtual mode.

VirtualModebool.

Gets or sets a value indicating whether you have provided your own data-management operations for the System.Windows.Forms.ListView control.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

This property is not relevant for this class.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.

override
DoubleBufferedbool.

Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.