menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class MapsToggleLegendSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    MapsToggleLegendSettings
    Namespace: Syncfusion.EJ2.Maps
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class MapsToggleLegendSettings : EJTagHelper

    Constructors

    MapsToggleLegendSettings()

    Declaration
    public MapsToggleLegendSettings()

    Properties

    ApplyShapeSettings

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

    Declaration
    public bool ApplyShapeSettings { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    Border

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

    Declaration
    public MapsBorder Border { get; set; }
    Property Value
    Type Description
    MapsBorder

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Enable

    Enables or disables the legend to be toggled.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Fill

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

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

    The default value is ""

    Opacity

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

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

    The default value is 1

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