alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PropertyChangedEventArgs

    Provides data for the PropertyChanged event.

    Inheritance
    object
    PropertyChangedEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PropertyChangedEventArgs
    Examples
    <SfDiagramComponent  PropertyChanged="@PropertyChanged">
    </SfDiagramComponent>
    @code
    { 
      private void PropertyChanged(PropertyChangedEventArgs args)
      {
        if ((args != null) && (args.Element != null) && (args.NewValue != null) && (args.OldValue != null))
        {
          Console.WriteLine("Changed");
        }
       }
    }

    Constructors

    PropertyChangedEventArgs()

    Declaration
    public PropertyChangedEventArgs()

    Properties

    Element

    Gets the object where the property change has occurred.

    Declaration
    public IDiagramObject? Element { get; }
    Property Value
    Type
    IDiagramObject

    NewValue

    Gets the new value of the property that was changed

    Declaration
    public object? NewValue { get; }
    Property Value
    Type
    object

    OldValue

    Gets the old value of the property that was changed.

    Declaration
    public object? OldValue { get; }
    Property Value
    Type
    object

    PropertyName

    Gets the name of the property that has a property change.

    Declaration
    public string? PropertyName { get; }
    Property Value
    Type Description
    string

    Accepts the string value.

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