Class PropertyChangedEventArgs
Provides data for the PropertyChanged event.
Inheritance
System.Object
PropertyChangedEventArgs
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class PropertyChangedEventArgs : Object
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 |
---|
System.Object |
OldValue
Gets the old value of the property that was changed.
Declaration
public object OldValue { get; }
Property Value
Type |
---|
System.Object |
PropertyName
Gets the name of the property that has a property change.
Declaration
public string PropertyName { get; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |