Enum RelativeMode
Specifies the relative mode.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum RelativeMode
Examples
<SfDiagramComponent />
@code
{
protected override void OnInitialized()
{
DiagramCanvas canvas = new DiagramCanvas();
canvas.RelativeMode = RelativeMode.Object;
canvas.Children = new DiagramObjectCollection<CommonElement>() { child1};
basicElements.Add(canvas);
}
}
Fields
| Name | Description |
|---|---|
| Object | Object - Diagram elements will be aligned with respect to its immediate parent |
| Point | DiagramPoint - Diagram elements will be aligned with respect to a point |