menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MapsShapeSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MapsShapeSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    MapsShapeSettingsBuilder
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsShapeSettingsBuilder : ControlBuilder

    Constructors

    MapsShapeSettingsBuilder()

    Declaration
    public MapsShapeSettingsBuilder()

    MapsShapeSettingsBuilder(MapsShapeSettings)

    Declaration
    public MapsShapeSettingsBuilder(MapsShapeSettings model)
    Parameters
    Type Name Description
    MapsShapeSettings model

    Methods

    Autofill(Boolean)

    Enables or disables the filling of color, based on the palette, for the shapes automatically.

    Declaration
    public MapsShapeSettingsBuilder Autofill(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    MapsShapeSettingsBuilder

    Border(MapsBorder)

    Gets or sets the options for customizing the style properties of the border for the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder Border(MapsBorder value)
    Parameters
    Type Name Description
    MapsBorder value
    Returns
    Type
    MapsShapeSettingsBuilder

    Border(Action<MapsBorderBuilder>)

    Declaration
    public MapsShapeSettingsBuilder Border(Action<MapsBorderBuilder> border)
    Parameters
    Type Name Description
    System.Action<MapsBorderBuilder> border
    Returns
    Type
    MapsShapeSettingsBuilder

    BorderColorValuePath(String)

    Gets or sets the field name from the data source to set the color for the border of a particular shape in maps.

    Declaration
    public MapsShapeSettingsBuilder BorderColorValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder

    BorderWidthValuePath(String)

    Gets or sets the field name from the data source to set the width for the border of a particular shape in maps.

    Declaration
    public MapsShapeSettingsBuilder BorderWidthValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder

    CircleRadius(Double)

    Gets or sets the radius of the "Point" and "MultiPoint" geometry shapes. This property will be applicable only when the GeoJSON data has "Point" and "MultiPoint" geometry types.

    Declaration
    public MapsShapeSettingsBuilder CircleRadius(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    MapsShapeSettingsBuilder

    ColorMapping(Action<MapsColorMappingBuilder>)

    Declaration
    public MapsShapeSettingsBuilder ColorMapping(Action<MapsColorMappingBuilder> colorMapping)
    Parameters
    Type Name Description
    System.Action<MapsColorMappingBuilder> colorMapping
    Returns
    Type
    MapsShapeSettingsBuilder

    ColorMapping(List<MapsColorMapping>)

    Gets or sets the options to map the color for some set of the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder ColorMapping(List<MapsColorMapping> value)
    Parameters
    Type Name Description
    System.Collections.Generic.List<MapsColorMapping> value
    Returns
    Type
    MapsShapeSettingsBuilder

    ColorValuePath(String)

    Gets or sets the field name from the data source to set the color for the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder ColorValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder

    DashArray(String)

    Gets or sets the dash-array for the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder DashArray(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder

    Fill(String)

    Gets or sets the color of the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder Fill(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder

    Opacity(Double)

    Gets or sets the opacity for the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    MapsShapeSettingsBuilder

    Palette(String[])

    Gets or sets a set of colors for the shapes in maps.

    Declaration
    public MapsShapeSettingsBuilder Palette(string[] value)
    Parameters
    Type Name Description
    System.String[] value
    Returns
    Type
    MapsShapeSettingsBuilder

    ValuePath(String)

    Gets or sets the value from the data source based on which the shape gets rendered.

    Declaration
    public MapsShapeSettingsBuilder ValuePath(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    MapsShapeSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved