menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChangeEventArgs<TValue> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChangeEventArgs<TValue>

    Provides information for the ValueChange event.

    Inheritance
    System.Object
    ChangeEventArgs<TValue>
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ChangeEventArgs<TValue> : Object
    Type Parameters
    Name Description
    TValue

    The type of the value that has changed.

    Remarks

    This event is triggered when the value of the In-place Editor is changed and submitted.

    Constructors

    ChangeEventArgs()

    Declaration
    public ChangeEventArgs()

    Properties

    ItemData

    Gets or sets the data item corresponding to the selected value, when the editor is a component like AutoComplete, ComboBox, or DropDownList.

    Declaration
    public dynamic ItemData { get; set; }
    Property Value
    Type Description
    System.Object

    A dynamic object representing the selected item from the data source.

    Remarks

    This property is populated only when the editor component is bound to a complex data source. It is null for simple input types.

    PreviousItemData

    Gets or sets the data item of the previously selected value, when the editor is a component like AutoComplete, ComboBox, or DropDownList.

    Declaration
    public dynamic PreviousItemData { get; set; }
    Property Value
    Type Description
    System.Object

    A dynamic object representing the previously selected item from the data source.

    Remarks

    This property helps in comparing the new and old data items upon value change.

    PreviousValue

    Gets or sets the previous value of the In-place Editor.

    Declaration
    public TValue PreviousValue { get; set; }
    Property Value
    Type Description
    TValue

    The previous value of type TValue.

    Remarks

    This property allows you to access the value of the editor before the current change occurred.

    Value

    Gets or sets the current value of the In-place Editor after the change.

    Declaration
    public TValue Value { get; set; }
    Property Value
    Type Description
    TValue

    The current value of type TValue.

    Remarks

    This property reflects the newly selected or entered value.

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