DataGridColumnHeader.DisplayIndex Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 4.0
Return to top
Show: