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 | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment representing the content to be rendered inside this component. |
Remarks
This property allows for custom UI content definition in the context of polygon highlighting.
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 | A boolean value to enable or disable highlighting. |
Remarks
Toggle the highlighting feature for polygon shapes using this property.
Fill
Gets or sets the color for the highlighted polygon shape.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that specifies the fill color. |
Remarks
Adjust the appearance of highlighted polygon shapes by changing their fill color.
Opacity
Gets or sets the opacity of the highlighted polygon shape.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value between 0 and 1 representing the opacity. |
Remarks
Set the transparency of the highlighted polygon using this property.
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. |