Class SwimlaneChild
Represents a base class for header, phase, and lane within a swimlane.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class SwimlaneChild : NodeBase, IDiagramObject, ICloneable
Remarks
SwimlaneChild serves as an abstraction for different components within a swimlane layout, providing properties like Height and Width to define size.
Constructors
SwimlaneChild()
Creates a new instance of the Swimlane Child.
Declaration
public SwimlaneChild()
SwimlaneChild(SwimlaneChild)
Creates a new instance of the Swimlane Child from the given Swimlane Child.
Declaration
public SwimlaneChild(SwimlaneChild src)
Parameters
| Type | Name | Description |
|---|---|---|
| SwimlaneChild | src | A SwimlaneChild instance to copy from. Must not be null. |
Properties
Height
Gets or sets the height of the swimlane child.
Declaration
[JsonPropertyName("height")]
public double? Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | A double representing the height in logical units. The default value is null. |
Remarks
Changing the Height will trigger the parent's OnPropertyChanged method if the value differs.
Width
Gets or sets the width of the swimlane child.
Declaration
[JsonPropertyName("width")]
public double? Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | A double representing the width in logical units. The default value is null. |
Remarks
Changing the Width will invoke the parent's OnPropertyChanged method if the value changes.
Methods
Clone()
Creates a new SwimlaneChild that is a copy of the current SwimlaneChild.
Declaration
public override object Clone()
Returns
| Type |
|---|
| object |