Class MapsMargin
Sets and gets the options for customizing the bottom, left, right, top margin of the Maps component.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsMargin : OwningComponentBase
Constructors
MapsMargin()
Declaration
public MapsMargin()
Properties
Bottom
Sets and gets the bottom margin for the maps component.
Declaration
public double Bottom { get; set; }
Property Value
Type |
---|
System.Double |
Left
Sets and gets the left margin for the maps component.
Declaration
public double Left { get; set; }
Property Value
Type |
---|
System.Double |
Right
Sets and gets the right margin for the maps component.
Declaration
public double Right { get; set; }
Property Value
Type |
---|
System.Double |
Top
Sets and gets the top margin for the maps component.
Declaration
public double Top { get; set; }
Property Value
Type |
---|
System.Double |
Methods
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |