System.Windows.Forms.ListView.CheckedIndices Property

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

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public ListView.CheckedIndexCollection CheckedIndices { 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.CheckedIndices property returns a collection that contains the index positions in the System.Windows.Forms.ListView.ListViewItemCollection of 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.CheckedIndexCollection.

If you want to obtain a collection of the items that are checked in the System.Windows.Forms.ListView control, instead of the index positions of the items that are checked, use the ListView.CheckedItems 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