Table of Contents

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

owner MapLayer
param owner M:LightningChartLib.WinForms.Charting.Maps.City.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer)

City(MapLayer, int)

Constructor.

public City(MapLayer owner, int id)

Parameters

owner MapLayer
param owner M:LightningChartLib.WinForms.Charting.Maps.City.#ctor(LightningChartLib.WinForms.Charting.Maps.MapLayer,System.Int32)
id int
param 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

string

Location

Location.

public PointDouble Location { get; }

Property Value

PointDouble

Population

Population.

public uint Population { get; }

Property Value

uint

Methods

OnDeserialized(StreamingContext)

OnDeserialized is called just after the object has been deserialized

[OnDeserialized]
protected void OnDeserialized(StreamingContext context)

Parameters

context StreamingContext

Context