Class RelativeMode
Specifies the relative mode.
Inheritance
System.Object
RelativeMode
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class RelativeMode : Enum
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
Object
Object - Diagram elements will be aligned with respect to its immediate parent
Declaration
public const RelativeMode Object
Field Value
Type |
---|
RelativeMode |
Point
DiagramPoint - Diagram elements will be aligned with respect to a point
Declaration
public const RelativeMode Point
Field Value
Type |
---|
RelativeMode |