Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsShapeSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsShapeSettings

    Sets and gets the options to customize the shape of the maps.

    Inheritance
    System.Object
    SfBaseComponent
    MapsShapeSettings
    Inherited Members
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Maps
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class MapsShapeSettings : SfBaseComponent

    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 Description
    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 Description
    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 Description
    System.String

    ChildContent

    Sets and gets the content of the UI element.

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    CircleRadius

    Sets and gets the radius of the shape.

    Declaration
    public double CircleRadius { get; set; }
    Property Value
    Type Description
    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 Description
    System.String

    DashArray

    Sets and gets the dash-array for the shapes in maps.

    Declaration
    public string DashArray { get; set; }
    Property Value
    Type Description
    System.String

    Fill

    Sets and gets the color of the shapes in maps.

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    Opacity

    Sets and gets the opacity for the shapes in maps.

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    Palette

    Sets and gets a set of colors for the shapes in maps.

    Declaration
    public string[] Palette { get; set; }
    Property Value
    Type Description
    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 Description
    System.String

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    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.

    Overrides
    SfBaseComponent.OnInitializedAsync()

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved