Class PreviewMargin
Defines the space around the symbol preview.
Inheritance
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class PreviewMargin : SfBaseExtension
Constructors
PreviewMargin()
Declaration
public PreviewMargin()
Properties
Bottom
It sets the space left at the bottom of a symbol preview. By default, it is set to 0.
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
Left
It sets the space left at the left of a symbol preview. By default, it is set to 0.
Declaration
public Nullable<double> Left { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
mainParent
Defines the space around the symbol preview.
Declaration
protected override SfBaseExtension mainParent { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Blazor.SfBaseExtension |
Overrides
Right
It sets the space left at the right of a symbol preview. By default, it is set to 0.
Declaration
public Nullable<double> Right { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Top
It sets the space left at the top of a symbol preview. By default, it is set to 0.
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 | Returns asynchronous operation when the component is ready to start, having received its initial parameters from its parent in the render tree |
Overrides
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 |