Class
GridViewCellValidatingEventArgs

Contains data needed to handle the CellValidating event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCellValidatingEventArgs : CellRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCellRoutedEventArgsGridViewCellValidatingEventArgs

Inherited Members CellRoutedEventArgs.OldValueCellRoutedEventArgs.NewValue

Constructors

GridViewCellValidatingEventArgs(GridViewCell, GridViewRowItem, RoutedEvent, object, object)

Initializes a new instance of the GridViewCellValidatingEventArgs class.

Declaration

cs-api-definition
public GridViewCellValidatingEventArgs(GridViewCell gridViewCell, GridViewRowItem rowItem, RoutedEvent routedEvent, object oldValue, object newValue)

Parameters

gridViewCell

GridViewCell

The grid view cell.

rowItem

GridViewRowItem

The row item.

routedEvent

RoutedEvent

The routed event.

oldValue

object

The old value.

newValue

object

The new value.

Properties

Cell

Gets or sets the cell.

Declaration

cs-api-definition
public GridViewCell Cell { get; set; }

Property Value

GridViewCell

The cell.

EditingElement

Gets or sets the editor element.

Declaration

cs-api-definition
public object EditingElement { get; }

Property Value

object

The editor element.

ErrorMessage

Gets or sets the error message.

Declaration

cs-api-definition
public string ErrorMessage { get; set; }

Property Value

string

The error message.

IsValid

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

Declaration

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

Property Value

bool

true if this instance is valid; otherwise, false.

Row

Gets or sets the row.

Declaration

cs-api-definition
public GridViewRowItem Row { get; set; }

Property Value

GridViewRowItem

The row.