alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsArrow

    Defines the options for customizing the arrow in navigation lines on the map.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    MapsArrow
    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 MapsArrow : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    MapsArrow()

    Declaration
    public MapsArrow()

    Properties

    ChildContent

    Gets or sets the child content UI element within the map arrow.

    Declaration
    [Parameter]
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    A RenderFragment representing the content of the UI element.

    Remarks

    This property allows custom UI elements to be included inside the arrow using a render fragment.

    Color

    Gets or sets the color of the arrow in the navigation line.

    Declaration
    [Parameter]
    public string Color { get; set; }
    Property Value
    Type Description
    string

    A string representing the color, with the default value as "black".

    Remarks

    This property defines the color appearance of the arrow used in the map's navigation line.

    OffSet

    Gets or sets the offset value for positioning the arrow in the navigation line.

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

    A double specifying the offset.

    Remarks

    Use this to adjust the position of the arrow along the navigation line.

    Position

    Gets or sets the position type to place the arrow on the navigation lines.

    Declaration
    [Parameter]
    public string Position { get; set; }
    Property Value
    Type Description
    string

    A string representing the position type, with the default being "Start".

    Remarks

    Options include "Start", "Middle", or "End" to determine the arrow's placement.

    ShowArrow

    Gets or sets a value indicating the visibility state of the arrow in the navigation line.

    Declaration
    [Parameter]
    public bool ShowArrow { get; set; }
    Property Value
    Type Description
    bool

    A bool indicating whether the arrow is visible.

    Remarks

    Set to true to display the arrow and false to hide it.

    Size

    Gets or sets the size of the arrow in the navigation line.

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

    A double specifying the size, with a default of 5.

    Remarks

    Defines how large the arrow appears on the navigation line.

    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