System.Windows.Forms.ListView.CheckedItems Property

Gets the currently checked items in the control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public ListView.CheckedListViewItemCollection CheckedItems { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is only useful when the ListView.CheckBoxes property of the System.Windows.Forms.ListView control is set to true. The ListView.CheckedItems property returns a collection that contains all items that are checked in the control. For more information about how to manipulate the items in the collection, see System.Windows.Forms.ListView.CheckedListViewItemCollection.

If you want to obtain a collection of the index positions within the System.Windows.Forms.ListView.ListViewItemCollection of the items that are checked in the System.Windows.Forms.ListView control, instead of the items that are checked, use the ListView.CheckedIndices property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0