alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsZoomToolbarSettings

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

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    MapsZoomToolbarSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    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 MapsZoomToolbarSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    MapsZoomToolbarSettings()

    Declaration
    public MapsZoomToolbarSettings()

    Properties

    BackgroundColor

    Gets and sets the background color of the zoom toolbar.

    Declaration
    [Parameter]
    public string BackgroundColor { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public string BorderColor { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public double BorderOpacity { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public double BorderWidth { get; set; }
    Property Value
    Type Description
    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
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    A 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
    [Parameter]
    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
    [Parameter]
    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
    [Parameter]
    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
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    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