Class PropertyChangedEventArgs
Provides data for the PropertyChanged event.
Inherited Members
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. |