menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsLayerHighlightSettings

    Sets and gets the options for customizing the highlight settings of the layer for the highlighted shapes in maps.

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

    Constructors

    MapsLayerHighlightSettings()

    Declaration
    public MapsLayerHighlightSettings()

    Properties

    ChildContent

    Gets or sets 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 child content of the component.

    Remarks

    This property is used to specify custom content to be rendered inside the component.

    Enable

    Gets or sets a value indicating whether or not to highlight the shapes in the maps.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if highlighting is enabled; otherwise, false.

    Remarks

    This property determines whether the map shapes should be highlighted when interacted with.

    Fill

    Gets or sets the color for highlighting the shapes in maps.

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

    A string specifying the fill color for highlighted shapes.

    Remarks

    Use this property to change the highlight color of the map's shapes.

    Opacity

    Gets or sets the opacity for highlighting the shapes in maps.

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

    A double value between 0 and 1 that represents the opacity of the highlighted shapes. The default is 1.

    Remarks

    This property controls the transparency level of the highlighted map shapes.

    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