DataGridColumnHeader.DisplayIndex Property

Gets the display position of the column associated with this column header relative to the other columns in the DataGrid.

Namespace:  System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int DisplayIndex { get; }

Property Value

Type: System.Int32
The display position of associated column relative to the other columns in the DataGrid.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft