Class RecordValueChangingEventArgs
Represents the class that provides data about the cancel-able RecordValueChanging event of a Engine which occurs when a RecordFieldCell cell's value is changed and before Record.SetValue is called.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public sealed class RecordValueChangingEventArgs : SyncfusionCancelEventArgs
Remarks
You can cancel saving the value when you set e.Cancel = True, or you can replace e.NewValue with a different value.
Constructors
RecordValueChangingEventArgs(Record, String, FieldDescriptor, Object)
Initializes a new instance of the RecordValueChangingEventArgs class.
Declaration
public RecordValueChangingEventArgs(Record record, string column, FieldDescriptor fieldDescriptor, object newValue)
Parameters
Type | Name | Description |
---|---|---|
Record | record | The record. |
System.String | column | The column. |
FieldDescriptor | fieldDescriptor | The field. |
System.Object | newValue | The new value to save. |
Properties
Column
Gets the column.
Declaration
[TraceProperty(true)]
public string Column { get; }
Property Value
Type |
---|
System.String |
FieldDescriptor
Gets the field descriptor..
Declaration
[TraceProperty(true)]
public FieldDescriptor FieldDescriptor { get; }
Property Value
Type |
---|
FieldDescriptor |
NewValue
Gets the new value to save.
Declaration
[TraceProperty(true)]
public object NewValue { get; set; }
Property Value
Type |
---|
System.Object |
Record
Gets the record.
Declaration
[TraceProperty(true)]
public Record Record { get; }
Property Value
Type |
---|
Record |