menu

Blazor

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

    Show / Hide Table of Contents

    Class MapsPolygonSelectionSettings

    Gets or sets the properties for customizing the currently selected polygon shapes in Maps.

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

    Constructors

    MapsPolygonSelectionSettings()

    Declaration
    public MapsPolygonSelectionSettings()

    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 content to be rendered inside this component.

    Remarks

    This property allows custom UI definition within the context of polygon selection settings.

    Enable

    Gets or sets a value indicating whether or not the polygon shapes in the Maps component can be selected.

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

    A boolean value to enable or disable selection.

    Remarks

    Use this property to toggle the ability to select polygon shapes.

    EnableMultiSelect

    Gets or sets a value indicating whether or not multiple selection for polygon shapes is enabled.

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

    A boolean value to enable or disable multi-selection.

    Remarks

    You can enable or disable the selection of multiple polygon shapes with this property.

    Fill

    Gets or sets the color of the selected polygon shape.

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

    A string value representing the fill color.

    Remarks

    Adjust the fill color of selected polygon shapes using this property.

    Opacity

    Gets or sets the opacity for the currently selected polygon shape.

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

    A double value ranging from 0 to 1 that specifies the opacity.

    Remarks

    Modify the transparency level of selected polygon shapes with this property.

    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