alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MapsMargin

    Sets and gets the options for customizing the bottom, left, right, top margin of the Maps component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    MapsMargin
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsMargin : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    MapsMargin()

    Declaration
    public MapsMargin()

    Properties

    Bottom

    Gets or sets the bottom margin for the maps component.

    Declaration
    [Parameter]
    public double Bottom { get; set; }
    Property Value
    Type Description
    double

    A double representing the bottom margin in pixels. The default value is 10.0.

    Remarks

    This property controls the spacing below the Maps component.

    Left

    Gets or sets the left margin for the maps component.

    Declaration
    [Parameter]
    public double Left { get; set; }
    Property Value
    Type Description
    double

    A double representing the left margin in pixels. The default value is 10.0.

    Remarks

    This property controls the spacing to the left of the Maps component.

    Right

    Gets or sets the right margin for the maps component.

    Declaration
    [Parameter]
    public double Right { get; set; }
    Property Value
    Type Description
    double

    A double representing the right margin in pixels. The default value is 10.0.

    Remarks

    This property controls the spacing to the right of the Maps component.

    Top

    Gets or sets the top margin for the maps component.

    Declaration
    [Parameter]
    public double Top { get; set; }
    Property Value
    Type Description
    double

    A double representing the top margin in pixels. The default value is 10.0.

    Remarks

    This property controls the spacing above the Maps component.

    Methods

    Dispose(bool)

    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
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    OnInitializedAsync method is called when the component has received its initial parameters.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    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
    Task

    Task representing the asynchronous operation.

    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved