Class City
- Namespace
- LightningChartLib.WinForms.Charting.Maps
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
City.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class City : MapItem, IChartNode, IDisposable
- Inheritance
-
City
- Implements
- Inherited Members
Constructors
City()
Constructor.
public City()
City(MapLayer)
Constructor.
public City(MapLayer owner)
Parameters
ownerMapLayerparam owner M:LightningChartLib.WinForms.Charting.Maps.City.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer)
City(MapLayer, int)
Constructor.
public City(MapLayer owner, int id)
Parameters
ownerMapLayerparam owner M:LightningChartLib.WinForms.Charting.Maps.City.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,System.Int32) idintparam id M:LightningChartLib.WinForms.Charting.Maps.City.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,System.Int32)
Properties
Country
Country name.
public string Country { get; }
Property Value
Location
Location.
public PointDouble Location { get; }
Property Value
Population
Population.
public uint Population { get; }
Property Value
Methods
OnDeserialized(StreamingContext)
OnDeserialized is called just after the object has been deserialized
[OnDeserialized]
protected void OnDeserialized(StreamingContext context)
Parameters
contextStreamingContextContext