New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the ColumnIndexChanging event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class ColumnIndexChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsColumnIndexChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the ColumnIndexChangingEventArgs class.

C#
public ColumnIndexChangingEventArgs(int oldIndex, int newIndex, bool cancel)
Parameters:oldIndexintnewIndexintcancelbool

Initializes a new instance of the ColumnIndexChangingEventArgs class.

C#
public ColumnIndexChangingEventArgs(int oldIndex, int newIndex)
Parameters:oldIndexintnewIndexint

Properties

Gets the new column index.

C#
public int NewIndex { get; }

Gets the old column index.

C#
public int OldIndex { get; }