menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class MapsToggleLegendSettingsBuilder

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

    Constructors

    MapsToggleLegendSettingsBuilder()

    Declaration
    public MapsToggleLegendSettingsBuilder()

    MapsToggleLegendSettingsBuilder(MapsToggleLegendSettings)

    Declaration
    public MapsToggleLegendSettingsBuilder(MapsToggleLegendSettings model)
    Parameters
    Type Name Description
    MapsToggleLegendSettings model

    Methods

    ApplyShapeSettings(Boolean)

    Specifies whether the property of the shape settings is to be set while toggling the legend item.

    Declaration
    public MapsToggleLegendSettingsBuilder ApplyShapeSettings(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    MapsToggleLegendSettingsBuilder

    Border(MapsBorder)

    Gets or sets the options to customize the style properties of the border for the shape in maps.

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

    Border(Action<MapsBorderBuilder>)

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

    Enable(Boolean)

    Enables or disables the legend to be toggled.

    Declaration
    public MapsToggleLegendSettingsBuilder Enable(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    MapsToggleLegendSettingsBuilder

    Fill(String)

    Gets or sets the color of the shape of the legend item which is toggled.

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

    Opacity(Double)

    Gets or sets the opacity for the shape of the legend item which is toggled.

    Declaration
    public MapsToggleLegendSettingsBuilder Opacity(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    MapsToggleLegendSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved