Occurs when the value the DisplayIndex property for a column changes.
[Visual Basic] Public Event ColumnDisplayIndexChanged As DataGridViewIndexEventHandler [C#] public event DataGridViewIndexEventHandler ColumnDisplayIndexChanged; [C++] public: __event DataGridViewIndexEventHandler* ColumnDisplayIndexChanged;
The event handler receives an argument of type DataGridViewIndexEventArgs containing data related to this event. The following DataGridViewIndexEventArgs property provides information specific to this event.
Property | Description |
---|---|
Index | Gets the zero-based index of the row or column associated with the event. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
DataGridView Class | DataGridView Members | Wimark.Controls Namespace