Interface IDiagramObject
Represents the base interface for all diagram objects in the SfDiagramComponent, providing common functionality for property change handling and object cloning.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public interface IDiagramObject : ICloneable
Methods
OnPropertyChanged(String, Object, Object, IDiagramObject)
Occurs when the effective value of any property on this diagram object has been updated.
Declaration
void OnPropertyChanged(string propertyName, object newVal, object oldVal, IDiagramObject container)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | A System.String specifying the name of the property that changed. |
System.Object | newVal | An System.Object representing the new value of the property. Can be null if the property was set to null or cleared. |
System.Object | oldVal | An System.Object representing the previous value of the property. Can be null if the property had no previous value or was initially null. |
IDiagramObject | container | An IDiagramObject representing the container or parent object that initiated the property change. This parameter provides context about the source of the change. |