RowCellValidationArgs Members
Contains data for the command bound to the GridViewBase.ValidateCellCommand property.Constructors
Name | Description |
---|---|
RowCellValidationArgs(String, Object, Object, Object, Int32, Boolean, CancellationToken, Boolean) | Initializes a new instance of the RowCellValidationArgs class with specified settings. |
Properties
Name | Description |
---|---|
CancellationToken | Gets an object that notifies that changes made within a row should be canceled. Inherited from ValidationArgs. |
FieldName | Gets the column’s field name. |
IsNewItem | Gets whether the validate operation processes a new data item. Inherited from ValidationArgs. |
Item | Gets a record in a data source. Inherited from ValidationArgs. |
NewValue | Gets the editor’s value. |
OldValue | Gets the cell’s old valid value. |
Result | Gets or sets an error description if row data are invalid. Null if data are valid. Inherited from ValidationArgs. |
ResultAsync | Gets or sets a task that asynchronously posts changes to an underlying data source (database). Inherited from ValidationArgs. |
SourceIndex | Gets the index of the current record in a data source. Inherited from RowValidationArgs. |
UseCancellationToken | Gets or sets whether changes made within a row can be canceled. Inherited from ValidationArgs. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also