menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsPolygonSelectionBorder

    Gets or sets the properties for customizing the color and width of the border for the selected polygon shapes in the Maps.

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

    Constructors

    MapsPolygonSelectionBorder()

    Declaration
    public MapsPolygonSelectionBorder()

    Properties

    Color

    Gets or sets the color of the border of the currently selected polygon shape.

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

    A string value representing the color of the border.

    Remarks

    This property allows you to set a custom border color for a polygon when it is selected.

    Opacity

    Gets or sets the opacity of the selected polygon shape's border.

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

    A double value between 0 and 1 representing the opacity level.

    Remarks

    Use this property to set the transparency level of the selected polygon border.

    Width

    Gets or sets the width of the border of the currently selected polygon shape.

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

    A double value representing the width of the border.

    Remarks

    This property allows you to adjust the thickness of the polygon's border when it is selected.

    Methods

    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