Class MapsShapeSettings
Sets and gets the options to customize the shape of the maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsShapeSettings : OwningComponentBase
Constructors
MapsShapeSettings()
Declaration
public MapsShapeSettings()
Properties
Autofill
Enables or disables the filling of color for the shapes automatically.
Declaration
public bool Autofill { get; set; }
Property Value
Type |
---|
System.Boolean |
BorderColorValuePath
Gets and sets the value from the data source for the color of the border of the shapes in maps.
Declaration
public string BorderColorValuePath { get; set; }
Property Value
Type |
---|
System.String |
BorderWidthValuePath
Gets and sets the value from the data source for the width of the border of the shapes in maps.
Declaration
public string BorderWidthValuePath { get; set; }
Property Value
Type |
---|
System.String |
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
CircleRadius
Sets and gets the radius of the shape.
Declaration
public double CircleRadius { get; set; }
Property Value
Type |
---|
System.Double |
ColorValuePath
Sets and gets the value path from the data source to set the color for the shapes in maps.
Declaration
public string ColorValuePath { get; set; }
Property Value
Type |
---|
System.String |
DashArray
Sets and gets the dash-array for the shapes in maps.
Declaration
public string DashArray { get; set; }
Property Value
Type |
---|
System.String |
Fill
Sets and gets the color of the shapes in maps.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Opacity
Sets and gets the opacity for the shapes in maps.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Palette
Sets and gets a set of colors for the shapes in maps.
Declaration
public string[] Palette { get; set; }
Property Value
Type |
---|
System.String[] |
ValuePath
Sets and gets the value from the data source based on which the shape gets rendered.
Declaration
public string ValuePath { get; set; }
Property Value
Type |
---|
System.String |
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. |