Class MapLayer
- Namespace
- LightningChartLib.WinForms.Charting.Maps
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Layer.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MapLayer : ChartNode, IChartNode, IDisposable
- Inheritance
-
MapLayer
- Implements
- Derived
- Inherited Members
Constructors
MapLayer()
Constructor.
public MapLayer()
MapLayer(Map)
Constructor.
public MapLayer(Map owner)
Parameters
ownerMapParent.
Properties
Items
Layer items.
public MapItem[] Items { get; }
Property Value
- MapItem[]
Name
Name of layer.
public string Name { get; set; }
Property Value
Priority
Priority. Layers with zero are drawn on top.
public int Priority { get; set; }
Property Value
Type
Layer type.
public MapLayer.LayerType Type { get; }
Property Value
Visible
Defines if visible.
public bool Visible { get; set; }
Property Value
Methods
Construct()
Construct initialized members.
protected virtual void Construct()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingboolTrue if managed resources should be disposed, otherwise false.
FreeDrawData()
Frees all the draw data. Called at least at MapLayer dispose.
protected void FreeDrawData()
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
String.