Class MapsLegendSettings
Inheritance
System.Object
MapsLegendSettings
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
public Alignment Alignment { get; set; }
Property Value
Background
Sets and gets the background color for the legend in maps.
Declaration
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
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
public string Fill { get; set; }
Property Value
Type |
Description |
System.String |
|
Height
Sets and gets the height of the legend in maps.
Declaration
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
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
public LabelIntersectAction LabelDisplayMode { get; set; }
Property Value
LabelPosition
Sets and gets the position of the label in legend.
Declaration
public LabelPosition LabelPosition { get; set; }
Property Value
Location
Sets and gets the location of the legend, given by x and y values.
Declaration
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
public LegendMode Mode { get; set; }
Property Value
Opacity
Sets and gets the opacity for the legend in maps.
Declaration
public double Opacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
Orientation
Sets and gets the orientation of the legend in maps.
Declaration
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
public LegendPosition Position { get; set; }
Property Value
RemoveDuplicateLegend
Enables or disables to remove the duplicate legend item.
Declaration
public bool RemoveDuplicateLegend { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Shape
Sets and gets the shape of the legend in maps.
Declaration
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
public MapsBorder ShapeBorder { get; set; }
Property Value
ShapeHeight
Sets and gets the width of the shapes in legend.
Declaration
public double ShapeHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShapePadding
Sets and gets the padding for the shapes in legend.
Declaration
public double ShapePadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
ShapeWidth
Sets and gets the width of the shapes in legend.
Declaration
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
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
public MapsFont TextStyle { get; set; }
Property Value
Title
Sets and gets the title for the legend in maps.
Declaration
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
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
public MapsToggleLegendSettings ToggleLegendSettings { get; set; }
Property Value
ToggleVisibility
Enables or disables the toggle visibility for legend in maps.
Declaration
public bool ToggleVisibility { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Type
Sets and gets the type of the legend in maps.
Declaration
public LegendType Type { get; set; }
Property Value
UseMarkerShape
Enables or disables to render the legend item based on the shapes from the data source of markers.
Declaration
public bool UseMarkerShape { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ValuePath
Set and gets the value from the data source for legend.
Declaration
public string ValuePath { get; set; }
Property Value
Type |
Description |
System.String |
|
Visible
Enables or disables the visibility state of the legend in maps.
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Sets and gets the width of the legend in maps.
Declaration
public string Width { get; set; }
Property Value
Type |
Description |
System.String |
|