Class ChangedFieldInfo
Implements details about the changes made to a column at the time the ListChanged event is handled in the engine.
Inheritance
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class ChangedFieldInfo
Constructors
ChangedFieldInfo(TableDescriptor, String)
Initializes a new instance of the ChangedFieldInfo class with the specified table descriptor and name.
Declaration
public ChangedFieldInfo(TableDescriptor tableDescriptor, string name)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | tableDescriptor | The table descriptor. |
System.String | name | Field name. |
ChangedFieldInfo(TableDescriptor, String, Object, Object)
Initializes a new instance of the ChangedFieldInfo class.
Declaration
public ChangedFieldInfo(TableDescriptor tableDescriptor, string name, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | tableDescriptor | The table descriptor. |
System.String | name | Field name. |
System.Object | oldValue | Old value. |
System.Object | newValue | New value. |
ChangedFieldInfo(TableDescriptor, String, Object, Object, Double)
Initializes a new instance of the ChangedFieldInfo class.
Declaration
public ChangedFieldInfo(TableDescriptor tableDescriptor, string name, object oldValue, object newValue, double delta)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | tableDescriptor | The table descriptor. |
System.String | name | The Field name. |
System.Object | oldValue | The Old value. |
System.Object | newValue | The New value |
System.Double | delta | Difference between new and old values. |
Properties
Delta
Gets the difference between new and old values.
Declaration
public double Delta { get; }
Property Value
Type |
---|
System.Double |
FieldIndex
Gets the index of the field.
Declaration
public int FieldIndex { get; }
Property Value
Type |
---|
System.Int32 |
HasValue
Determines whether it has a value.
Declaration
public bool HasValue { get; }
Property Value
Type |
---|
System.Boolean |
Name
Gets the field name.
Declaration
public string Name { get; }
Property Value
Type |
---|
System.String |
NewValue
Gets or sets new value.
Declaration
public object NewValue { get; set; }
Property Value
Type |
---|
System.Object |
OldValue
Gets or sets old value.
Declaration
public object OldValue { get; set; }
Property Value
Type |
---|
System.Object |
TableDescriptor
Gets the table descriptor.
Declaration
public TableDescriptor TableDescriptor { get; }
Property Value
Type |
---|
TableDescriptor |
Methods
SetValues(Object, Object)
Sets old and new values.
Declaration
public void SetValues(object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldValue | Old value. |
System.Object | newValue | New value. |