menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChangedFieldInfo - API Reference

    Show / Hide Table of Contents

    Class ChangedFieldInfo

    Implements details about the changes made to a column at the time the ListChanged event is handled in the engine.

    Inheritance
    System.Object
    ChangedFieldInfo
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Double

    FieldIndex

    Gets the index of the field.

    Declaration
    public int FieldIndex { get; }
    Property Value
    Type Description
    System.Int32

    HasValue

    Determines whether it has a value.

    Declaration
    public bool HasValue { get; }
    Property Value
    Type Description
    System.Boolean

    Name

    Gets the field name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    NewValue

    Gets or sets new value.

    Declaration
    public object NewValue { get; set; }
    Property Value
    Type Description
    System.Object

    OldValue

    Gets or sets old value.

    Declaration
    public object OldValue { get; set; }
    Property Value
    Type Description
    System.Object

    TableDescriptor

    Gets the table descriptor.

    Declaration
    public TableDescriptor TableDescriptor { get; }
    Property Value
    Type Description
    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved