The event handler receives an argument of type System.Windows.Forms.ColumnReorderedEventArgs containing data related to this event. The following ColumnReorderedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Header | Gets the System.Windows.Forms.ColumnHeader that is being reordered. |
NewDisplayIndex | Gets the new display position of the System.Windows.Forms.ColumnHeader |
OldDisplayIndex | Gets the previous display position of the System.Windows.Forms.ColumnHeader. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2