Class MapsShapeColorMappings
Sets and gets the collection of colormapping in maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsShapeColorMappings : OwningComponentBase
Constructors
MapsShapeColorMappings()
Declaration
public MapsShapeColorMappings()
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 that represents the content of the UI element for shape color mappings. |
Remarks
This property allows you to specify additional content to be rendered as part of the color mappings.
ColorMapping
Gets or sets the collection of shape color mappings.
Declaration
public List<MapsShapeColorMapping> ColorMapping { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<MapsShapeColorMapping> | A list of MapsShapeColorMapping objects that define the color mappings for shapes. |
Remarks
Use this property to manage the list of color mappings applied to map shapes.
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. |