WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CurrentRecordProperty - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CurrentRecordProperty

    Represents a class to CurrentRecordProperty element provides storage for modified values for the current Record in a CurrentRecordManager. CurrentRecordProperty objects are accessed through the collection returned by the Properties property of a CurrentRecordManager object.

    Inheritance
    System.Object
    CurrentRecordProperty
    Inherited Members
    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 CurrentRecordProperty

    Properties

    CurrentValue

    Gets the current (possibly modified) value.

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

    Exception

    Gets or sets an exception object that was thrown when the record was validated.

    Declaration
    public Exception Exception { get; set; }
    Property Value
    Type Description
    System.Exception

    FieldDescriptor

    Gets the current field descriptor.

    Declaration
    public FieldDescriptor FieldDescriptor { get; }
    Property Value
    Type Description
    FieldDescriptor

    IsError

    Determines whether an exception was thrown in a previous SaveChanges() call.

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

    IsModified

    Determines whether a value is modified or not.

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

    ModifiedValue

    Gets or sets the modified value.

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

    NULL is not modified.

    OriginalValue

    Gets the original value.

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

    Record

    Gets the current record of the collection.

    Declaration
    public Record Record { get; }
    Property Value
    Type Description
    Record

    Methods

    ResetModifiedValue()

    Resets the modified value and marks the property as not modified.

    Declaration
    public void ResetModifiedValue()

    SaveChanges()

    Saves the changes into the underlying data-source.

    Declaration
    public void SaveChanges()

    ToString()

    Returns string representation of the CurrentRecordProperty object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String representation of the current object.

    Overrides
    System.Object.ToString()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved