menu

Blazor

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

    Show / Hide Table of Contents

    Class SelectionEventArgs

    Specifies the event arguments for item selection event in maps.

    Inheritance
    System.Object
    MapsBaseEventArgs
    SelectionEventArgs
    Inherited Members
    MapsBaseEventArgs.Cancel
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SelectionEventArgs : MapsBaseEventArgs

    Constructors

    SelectionEventArgs()

    Declaration
    public SelectionEventArgs()

    Properties

    Data

    Gets or sets the data from the data source associated with the selection.

    Declaration
    public Dictionary<string, string> Data { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>

    A System.Collections.Generic.Dictionary<, > containing key-value pairs of the selected item data.

    Remarks

    Utilize this data to gain contextual information about the selected map element.

    Fill

    Gets or sets the color used while selecting the shape in maps.

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

    A string representing the color value.

    Remarks

    This color typically highlights the selected shape for better visibility.

    Opacity

    Gets or sets the opacity for the selected shape.

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

    A double representing the opacity level.

    Remarks

    Modify opacity to visually adjust the selected shape's prominence.

    ShapeData

    Gets or sets the shape data for the map.

    Declaration
    public Dictionary<string, string> ShapeData { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>

    A System.Collections.Generic.Dictionary<, > containing data for the shape.

    Remarks

    Useful for accessing shape-specific data during selection processing.

    Target

    Gets or sets the target string of the current mouse event.

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

    A string representing the target's identifier.

    Remarks

    Identifies the map element or component that was interacted with during the selection.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved