Class SankeyBaseMargin
Serves as the base component for managing margin settings in a Sankey.
Inheritance
Namespace: Syncfusion.Blazor.Sankey
Assembly: Syncfusion.Blazor.dll
Syntax
public class SankeyBaseMargin : SankeyComponentBase
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 SfSankey component.
Declaration
public double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the bottom margin for the SfSankey component. It is used to set the space between the SfSankey component and the bottom of the container.
Left
Sets and gets the left margin for the SfSankey component.
Declaration
public double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the left margin for the SfSankey component. It is used to set the space between the SfSankey component and the left side of the container.
Right
Sets and gets the right margin for the SfSankey component.
Declaration
public double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the right margin for the SfSankey component. It is used to set the space between the SfSankey component and the right side of the container.
Top
Sets and gets the top margin for the SfSankey component.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts double value in pixels. The default value is 10. |
Remarks
Set the top margin for the SfSankey component. It is used to set the space between the SfSankey component and the top of the container.
Methods
OnInitialized()
Declaration
protected override void OnInitialized()