Class
VirtualGridColumnWidthChangingEventArgs

Provides data for the ColumnWidthChanging event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class VirtualGridColumnWidthChangingEventArgs : VirtualGridColumnEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridColumnEventArgsVirtualGridColumnWidthChangingEventArgs

Inherited Members VirtualGridColumnEventArgs.ColumnIndexVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

VirtualGridColumnWidthChangingEventArgs(int, int, int, VirtualGridViewInfo)

Initializes a new instance of the VirtualGridColumnWidthChangingEventArgs class.

Declaration

cs-api-definition
public VirtualGridColumnWidthChangingEventArgs(int columnIndex, int oldWidth, int newWidth, VirtualGridViewInfo viewInfo)

Parameters

columnIndex

int

Index of the column.

oldWidth

int

The old width.

newWidth

int

The new width.

viewInfo

VirtualGridViewInfo

The view info.

Properties

Cancel

Gets or sets a value indicating whether the event is canceled.

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

NewWidth

Gets the new column width.

Declaration

cs-api-definition
public int NewWidth { get; }

Property Value

int

OldWidth

Gets the old column width.

Declaration

cs-api-definition
public int OldWidth { get; }

Property Value

int