Class MapsLegendSettings
Inheritance
System.Object
MapsLegendSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class MapsLegendSettings : EJTagHelper
Constructors
MapsLegendSettings()
Declaration
public MapsLegendSettings()
Properties
Alignment
Sets and gets the alignment for the legend in maps.
Declaration
[HtmlAttributeName("alignment")]
public Alignment Alignment { get; set; }
Property Value
Background
Sets and gets the background color for the legend in maps.
Declaration
[HtmlAttributeName("background")]
public string Background { get; set; }
Property Value
Type |
Description |
System.String |
|
Border
Sets and gets the options for customizing the color and width of the legend border.
Declaration
[HtmlAttributeName("border")]
public MapsBorder Border { get; set; }
Property Value
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Fill
Sets and gets the color of the legend in maps.
Declaration
[HtmlAttributeName("fill")]
public string Fill { get; set; }
Property Value
Type |
Description |
System.String |
|
Height
Sets and gets the height of the legend in maps.
Declaration
[HtmlAttributeName("height")]
public string Height { get; set; }
Property Value
Type |
Description |
System.String |
|
InvertedPointer
Enables or disables the visibility of the inverted pointer in interactive legend in maps.
Declaration
[HtmlAttributeName("invertedPointer")]
public bool InvertedPointer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
LabelDisplayMode
Sets and gets the display mode for the label in legend.
Declaration
[HtmlAttributeName("labelDisplayMode")]
public LabelIntersectAction LabelDisplayMode { get; set; }
Property Value
LabelPosition
Sets and gets the position of the label in legend.
Declaration
[HtmlAttributeName("labelPosition")]
public LabelPosition LabelPosition { get; set; }
Property Value
Location
Sets and gets the location of the legend, given by x and y values.
Declaration
[HtmlAttributeName("location")]
public object Location { get; set; }
Property Value
Type |
Description |
System.Object |
|
Mode
Sets and gets the mode of the legend in maps. The modes available are default and interactive modes.
Declaration
[HtmlAttributeName("mode")]
public LegendMode Mode { get; set; }
Property Value
Opacity
Sets and gets the opacity for the legend in maps.
Declaration
[HtmlAttributeName("opacity")]
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
Orientation
Sets and gets the orientation of the legend in maps.
Declaration
[HtmlAttributeName("orientation")]
public LegendArrangement Orientation { get; set; }
Property Value
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Position
Sets and gets the position of the legend in maps.
Declaration
[HtmlAttributeName("position")]
public LegendPosition Position { get; set; }
Property Value
RemoveDuplicateLegend
Enables or disables to remove the duplicate legend item.
Declaration
[HtmlAttributeName("removeDuplicateLegend")]
public bool RemoveDuplicateLegend { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Shape
Sets and gets the shape of the legend in maps.
Declaration
[HtmlAttributeName("shape")]
public LegendShape Shape { get; set; }
Property Value
ShapeBorder
Sets and gets the options for customizing the color and width of the border for the shape in legend.
Declaration
[HtmlAttributeName("shapeBorder")]
public MapsBorder ShapeBorder { get; set; }
Property Value
ShapeHeight
Sets and gets the width of the shapes in legend.
Declaration
[HtmlAttributeName("shapeHeight")]
public double ShapeHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShapePadding
Sets and gets the padding for the shapes in legend.
Declaration
[HtmlAttributeName("shapePadding")]
public double ShapePadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShapeWidth
Sets and gets the width of the shapes in legend.
Declaration
[HtmlAttributeName("shapeWidth")]
public double ShapeWidth { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShowLegendPath
Sets and gets the path for the legend from the data source to be shown.
Declaration
[HtmlAttributeName("showLegendPath")]
public string ShowLegendPath { get; set; }
Property Value
Type |
Description |
System.String |
|
TextStyle
Sets and gets the options for customizing the text styles for the legend in maps.
Declaration
[HtmlAttributeName("textStyle")]
public MapsFont TextStyle { get; set; }
Property Value
Title
Sets and gets the title for the legend in maps.
Declaration
[HtmlAttributeName("title")]
public MapsCommonTitleSettings Title { get; set; }
Property Value
TitleStyle
Sets and gets the options for customizing the style of the title for the legend in maps.
Declaration
[HtmlAttributeName("titleStyle")]
public MapsFont TitleStyle { get; set; }
Property Value
ToggleLegendSettings
Sets and gets the options for customizing the color and width of the shape related to the legend on selecting the legend.
Declaration
[HtmlAttributeName("toggleLegendSettings")]
public MapsToggleLegendSettings ToggleLegendSettings { get; set; }
Property Value
ToggleVisibility
Enables or disables the toggle visibility for legend in maps.
Declaration
[HtmlAttributeName("toggleVisibility")]
public bool ToggleVisibility { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Type
Sets and gets the type of the legend in maps.
Declaration
[HtmlAttributeName("type")]
public LegendType Type { get; set; }
Property Value
ValuePath
Set and gets the value from the data source for legend.
Declaration
[HtmlAttributeName("valuePath")]
public string ValuePath { get; set; }
Property Value
Type |
Description |
System.String |
|
Visible
Enables or disables the visibility state of the legend in maps.
Declaration
[HtmlAttributeName("visible")]
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Sets and gets the width of the legend in maps.
Declaration
[HtmlAttributeName("width")]
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|