Class MapsPolygonHighlightBorder
Gets or sets the properties for customizing the color and width of the highlighted polygon shape's border in Maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsPolygonHighlightBorder : OwningComponentBase
Constructors
MapsPolygonHighlightBorder()
Declaration
public MapsPolygonHighlightBorder()
Properties
Color
Gets or sets the color of the highlighted polygon shape's border.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.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
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.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
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.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(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. |