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
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
Border(Action<MapsBorderBuilder>)
Declaration
public MapsToggleLegendSettingsBuilder Border(Action<MapsBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MapsBorderBuilder> | border |
Returns
Enable(Boolean)
Enables or disables the legend to be toggled.
Declaration
public MapsToggleLegendSettingsBuilder Enable(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
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
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 |