Class MapsInitialShapeSelection
Sets and gets the initial shape selection for the maps control.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsInitialShapeSelection : OwningComponentBase
Constructors
MapsInitialShapeSelection()
Declaration
public MapsInitialShapeSelection()
Properties
ShapePath
Gets or sets the property name from the data source to identify the shape in the maps.
Declaration
public string ShapePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the property name that corresponds to the shape identifier within the map's data source. |
Remarks
This property is used to match map shapes with data attributes for initial selection.
ShapeValue
Gets or sets the value for the shape from the data source in the maps.
Declaration
public string ShapeValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the value that the shape should match in the map's data to be initially selected. |
Remarks
The shape matching this value in conjunction with ShapePath will be selected initially.
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. |