Class SankeyBaseMargin
Serves as the base component for managing margin settings in a Sankey.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Sankey
Assembly: Syncfusion.Blazor.dll
Syntax
public class SankeyBaseMargin : SankeyComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Remarks
This class provides properties to define the margin around the Sankey, including top, bottom, left, and right margins. Default values are provided for each margin to ensure proper spacing.
Constructors
SankeyBaseMargin()
Declaration
public SankeyBaseMargin()
Properties
Bottom
Sets and gets the bottom margin for the Sankey component.
Declaration
[Parameter]
public double Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the bottom margin for the Sankey component. It is used to set the space between the Sankey component and the bottom of the container.
Left
Sets and gets the left margin for the Sankey component.
Declaration
[Parameter]
public double Left { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the left margin for the Sankey component. It is used to set the space between the Sankey component and the left side of the container.
Right
Sets and gets the right margin for the Sankey component.
Declaration
[Parameter]
public double Right { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the right margin for the Sankey component. It is used to set the space between the Sankey component and the right side of the container.
Top
Sets and gets the top margin for the Sankey component.
Declaration
[Parameter]
public double Top { get; set; }
Property Value
| Type | Description |
|---|---|
| double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the top margin for the Sankey component. It is used to set the space between the Sankey component and the top of the container.