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

Provides data for the CellValidating event.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridCellValidatingEventArgs : VirtualGridCellEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridCellEventArgsVirtualGridCellValidatingEventArgs

Inherited Members VirtualGridCellEventArgs.RowIndexVirtualGridCellEventArgs.ColumnIndexVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridCellValidatingEventArgs class.

C#
public VirtualGridCellValidatingEventArgs(int rowIndex, int columnIndex, VirtualGridViewInfo viewInfo, object newValue)
Parameters:rowIndexint

Index of the row.

columnIndexint

Index of the column.

viewInfoVirtualGridViewInfo

The view info.

newValueobject

The new value.

Properties

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

C#
public bool Cancel { get; set; }

Gets the new cell value.

C#
public object NewValue { get; }