System.Windows.Forms.ColumnHeader.Index Property

Gets the location with the System.Windows.Forms.ListView control's System.Windows.Forms.ListView.ColumnHeaderCollection of this column.

Syntax

[System.ComponentModel.Browsable(false)]
public int Index { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of this property does not necessarily correspond to the current visual position of the column header within the System.Windows.Forms.ListView. This can be due to the user reordering the column headers at run time (when the ListView.AllowColumnReorder property is set to true). If the System.Windows.Forms.ColumnHeader is not contained within a System.Windows.Forms.ListView control this property returns a value of -1.

Requirements

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