menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsZoomToolbarSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsZoomToolbarSettings

    Sets and gets the options to customize the border of the zoom toolbar.

    Inheritance
    System.Object
    MapsZoomToolbarSettings
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsZoomToolbarSettings : OwningComponentBase

    Constructors

    MapsZoomToolbarSettings()

    Declaration
    public MapsZoomToolbarSettings()

    Properties

    BackgroundColor

    Gets and sets the background color of the zoom toolbar.

    Declaration
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the background color. Default is "transparent".

    Remarks

    This property sets the background color for the toolbar, allowing for style customization.

    BorderColor

    Gets and sets the color of the border of the zoom toolbar.

    Declaration
    public string BorderColor { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the border color. Default is "transparent".

    Remarks

    Defines the border color for the zoom toolbar, providing a way to accentuate the toolbar outline.

    BorderOpacity

    Gets and sets the opacity of the border of the zoom toolbar.

    Declaration
    public double BorderOpacity { get; set; }
    Property Value
    Type Description
    System.Double

    A double value indicating the border opacity, where 0 is completely transparent and 1 is fully opaque. Default is 1.

    Remarks

    Adjusts the transparency level of the toolbar border.

    BorderWidth

    Gets and sets the thickness of the border of the zoom toolbar.

    Declaration
    public double BorderWidth { get; set; }
    Property Value
    Type Description
    System.Double

    A double representing the thickness of the toolbar's border.

    Remarks

    This property indicates how thick the border for the toolbar will be rendered.

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    A Microsoft.AspNetCore.Components.RenderFragment representing the template content of the UI element.

    Remarks

    This property is used to define custom content within the toolbar area.

    HorizontalAlignment

    Gets and sets the position type of toolbar when it is placed horizontally.

    Declaration
    public Alignment HorizontalAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    An Alignment value indicating horizontal alignment. Default is Far.

    Remarks

    Determines the horizontal placement of the toolbar within the map container.

    Orientation

    Gets and sets the orientation of the zoom toolbar.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Orientation

    An Orientation value indicating the toolbar's orientation. Default is Horizontal.

    Remarks

    Specifies whether the toolbar is oriented horizontally or vertically.

    VerticalAlignment

    Gets and sets the position type of toolbar when it is placed vertically.

    Declaration
    public Alignment VerticalAlignment { get; set; }
    Property Value
    Type Description
    Alignment

    An Alignment indicating vertical alignment. Default is Near.

    Remarks

    Controls the vertical positioning of the toolbar within the map area.

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved