menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsArrow

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

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

    Constructors

    MapsArrow()

    Declaration
    public MapsArrow()

    Properties

    ChildContent

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

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

    A Microsoft.AspNetCore.Components.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
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    A System.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
    public double OffSet { get; set; }
    Property Value
    Type Description
    System.Double

    A System.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
    public string Position { get; set; }
    Property Value
    Type Description
    System.String

    A System.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
    public bool ShowArrow { get; set; }
    Property Value
    Type Description
    System.Boolean

    A System.Boolean 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
    public double Size { get; set; }
    Property Value
    Type Description
    System.Double

    A System.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
    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