Class MapsPolygonHighlightSettings
Gets or sets the properties for customizing the highlighted polygon shapes in Maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsPolygonHighlightSettings : OwningComponentBase
Constructors
MapsPolygonHighlightSettings()
Declaration
public MapsPolygonHighlightSettings()
Properties
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Enable
Gets or sets a value indicating whether or not to enable highlight for polygon shapes.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Accepts a boolean value. |
Remarks
You can enable or disable the highlight of the polygon shapes.
Fill
Gets or sets the color for the highlighted polygon shape.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string value representing a color. |
Remarks
You can change the fill color of the highlighted polygon shape.
Opacity
Gets or sets the opacity of the highlighted polygon shape.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts a double value ranging from 0 to 1 to represent opacity. |
Remarks
You can change the opacity of the highlighted polygon shape.
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. |