Skip to main content

ParliamentParty Class

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Represents a political party with seat allocation for the parliament chart.

public class ParliamentParty

Inheritance: object -> ParliamentParty

Constructors​

NameDescription
ParliamentPartyNo summary available.

ParliamentParty Constructor​

public ParliamentParty()

Properties​

NameDescription
ColorGets or sets the party's display color.
NameGets or sets the party name.
SeatsGets or sets the number of seats held by this party.

Color Property​

Gets or sets the party's display color.

public Avalonia.Media.Color Color { get; set; }

Name Property​

Gets or sets the party name.

public string Name { get; set; }

Seats Property​

Gets or sets the number of seats held by this party.

public int Seats { get; set; }