Class DiagramObject
Represents the class that acts as the base class for the diagram object.
Inheritance
System.Object
DiagramObject
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class DiagramObject : Object, IDiagramObject, ICloneable
Constructors
DiagramObject()
Initializes a new instance of the DiagramObject.
Declaration
public DiagramObject()
DiagramObject(DiagramObject)
Creates a new instance of the DiagramObject from the given DiagramObject.
Declaration
public DiagramObject(DiagramObject src)
Parameters
Type | Name | Description |
---|---|---|
DiagramObject | src | DiagramObject |
Methods
Clone()
Creates a new diagram object that is a copy of the current diagram object.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
System.Object | DiagramObject |
GetParent()
Gets the parent of an object when the method is invoked.
Declaration
public IDiagramObject GetParent()
Returns
Type | Description |
---|---|
IDiagramObject | returns a parent of an object. |
OnPropertyChanged(String, Object, Object, IDiagramObject)
Invoked when the effective value of any property on this diagram objects has been updated.
Declaration
public void OnPropertyChanged(string propertyName, object newVal, object oldVal, IDiagramObject container)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.Object | newVal | |
System.Object | oldVal | |
IDiagramObject | container |
Implements
System.ICloneable