Class DiagramContainer
The DiagramContainer is used to group related objects.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class DiagramContainer : DiagramElement
Constructors
DiagramContainer()
Initializes a new instance of the DiagramContainer.
Declaration
public DiagramContainer()
DiagramContainer(DiagramContainer)
Creates a new instance of the DiagramContainer from the given DiagramContainer.
Declaration
public DiagramContainer(DiagramContainer src)
Parameters
Type | Name | Description |
---|---|---|
DiagramContainer | src | It provides diagramcontainer |
Properties
Children
Gets or sets the collection of child elements (DiagramCanvas, Diagram Element).
Declaration
public ObservableCollection<CommonElement> Children { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<CommonElement> |
Padding
Gets or sets the space between the container and its immediate children.
Declaration
public DiagramThickness Padding { get; set; }
Property Value
Type |
---|
DiagramThickness |
Methods
Clone()
Creates a new element that is a copy of the current element.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | DiagramContainer |