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

Contains data needed to handle the CellValidating event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class GridViewCellValidatingEventArgs : CellRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCellRoutedEventArgsGridViewCellValidatingEventArgs

Inherited Members CellRoutedEventArgs.OldValueCellRoutedEventArgs.NewValue

Constructors

Initializes a new instance of the GridViewCellValidatingEventArgs class.

C#
public GridViewCellValidatingEventArgs(GridViewCell gridViewCell, GridViewRowItem rowItem, RoutedEvent routedEvent, object oldValue, object newValue)
Parameters:gridViewCellGridViewCell

The grid view cell.

rowItemGridViewRowItem

The row item.

routedEventRoutedEvent

The routed event.

oldValueobject

The old value.

newValueobject

The new value.

Properties

Gets or sets the cell.

C#
public GridViewCell Cell { get; set; }
Property Value:

The cell.

Gets or sets the editor element.

C#
public object EditingElement { get; }
Property Value:

The editor element.

Gets or sets the error message.

C#
public string ErrorMessage { get; set; }
Property Value:

The error message.

Gets or sets a value indicating whether edited data is valid.

C#
public bool IsValid { get; set; }
Property Value:

true if this instance is valid; otherwise, false.

Gets or sets the row.

C#
public GridViewRowItem Row { get; set; }
Property Value:

The row.