public class TeamViewModel : MenuItemViewModel
private Team _team;
/// Initializes a new instance of the <see cref="MenuItemViewModel"></see> class.
/// <param name="parentViewModel">The parent view model.</param>
public TeamViewModel(Twenty20TeamsViewModel parentViewModel, Team team)
_team = team;
private string _teamName;
/// Gets or sets the name of the team.
/// <value>The name of the team.</value>
public string TeamName
_team.TeamName = value; NotifyOnPropertyChanged("TeamName");
public override void LoadChildMenuItems()
PlayerViewModel playerViewModel = new PlayerViewModel(this, player);
playerViewModel.Header = player.PlayerName;
SeparatorViewModel separatorViewModel = new SeparatorViewModel(this);
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)
Man throws away trove of Bitcoin worth $7.5 million