Class Margin
Represents the margin for the diagram, nodes, connectors, etc.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
Syncfusion.Blazor.SfBaseExtension
Margin
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class Margin : SfBaseExtension
Constructors
Margin()
Declaration
public Margin()
Properties
Bottom
It sets the space to be left from the bottom side of the parent of an element.
Declaration
public Nullable<double> Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
jsProperty
Declaration
protected override string jsProperty { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Syncfusion.Blazor.SfBaseExtension.jsProperty
Left
It sets the space to be left from the left side of the parent of an element.
Declaration
public Nullable<double> Left { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
mainParent
Declaration
protected override SfBaseExtension mainParent { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Blazor.SfBaseExtension |
Overrides
Syncfusion.Blazor.SfBaseExtension.mainParent
Right
It sets the space to be left from the right side of the parent of an element.
Declaration
public Nullable<double> Right { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Top
It sets the space to be left from the top side of the parent of an element.
Declaration
public Nullable<double> Top { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
GetJSNamespace()
Declaration
public string GetJSNamespace()
Returns
Type | Description |
---|---|
System.String | Get the parent namespaces |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns asynchronous operation when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties |