Class MapsPolygonHighlightBorder
Gets or sets the properties for customizing the color and width of the highlighted polygon shape's border in Maps.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsPolygonHighlightBorder : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
MapsPolygonHighlightBorder()
Declaration
public MapsPolygonHighlightBorder()
Properties
Color
Gets or sets the color of the highlighted polygon shape's border.
Declaration
[Parameter]
public string Color { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string value representing the color of the border. |
Remarks
This allows customization of the border color for the highlighted polygon.
Opacity
Gets or sets the opacity of the highlighted polygon shape's border.
Declaration
[Parameter]
public double Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double value from 0 to 1 indicating the opacity level of the border. |
Remarks
This property modifies how transparent the border of the highlighted polygon appears.
Width
Gets or sets the width of the highlighted polygon shape's border.
Declaration
[Parameter]
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double | A double value representing the width of the border. |
Remarks
Use this property to change the thickness of the polygon's highlighted border.
Methods
Dispose(bool)
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 |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | Task representing the asynchronous operation. |