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 CellValidatingEventArgs : GridViewCellCancelEventArgs

Inheritance: objectEventArgsCancelEventArgsGridViewCellCancelEventArgsCellValidatingEventArgs

Inherited Members GridViewCellCancelEventArgs.ActiveEditorGridViewCellCancelEventArgs.RowGridViewCellCancelEventArgs.ColumnGridViewCellCancelEventArgs.ColumnIndexGridViewCellCancelEventArgs.RowIndexCancelEventArgs.CancelEventArgs.Empty...

Constructors

Initializes a new instance of the CellValidatingEventArgs class.

C#
public CellValidatingEventArgs(GridViewRowInfo row, GridViewColumn column, object value, object oldValue, IInputEditor editor)
Parameters:rowGridViewRowInfo

The GridViewRowInfo that is validating.

columnGridViewColumn

The GridViewColumn that is validating.

valueobject

The cell value.

oldValueobject

The old cell value.

editorIInputEditor

The associated active editor

Properties

Gets the old cell value.

C#
public object OldValue { get; }

Gets the cell value.

C#
public object Value { get; }