New to Telerik UI for WPF? Start a free 30-day trial

Provides data for the ColumnWidthChanging event.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public class VirtualGridColumnWidthChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsVirtualGridColumnWidthChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridColumnWidthChangingEventArgs class.

C#
public VirtualGridColumnWidthChangingEventArgs(int columnIndex, double oldWidth, double newWidth)
Parameters:columnIndexint

The index of the column being resized.

oldWidthdouble

The old width of the column.

newWidthdouble

The new width of the column.

Properties

Gets the index of the column being resized.

C#
public int ColumnIndex { get; }

Gets the new width of the column.

C#
public double NewWidth { get; }

Gets the old width of the column before the resize operation.

C#
public double OldWidth { get; }