combobox not ready
This commit is contained in:
@@ -39,16 +39,16 @@ namespace Apollon.WPF.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
private string _category;
|
||||
private string _competition;
|
||||
public string Competition
|
||||
{
|
||||
get
|
||||
{
|
||||
return _category;
|
||||
return _competition;
|
||||
}
|
||||
set
|
||||
{
|
||||
_category = value;
|
||||
_competition = value;
|
||||
OnPropertyChanged(nameof(Competition));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Apollon.WPF.ViewModels
|
||||
public bool HasSelectedTournament => SelectedTournament != null;
|
||||
public string Organisation => SelectedTournament?.Organisation ?? "keine Organisation";
|
||||
public string TournamentName => SelectedTournament?.TournamentName ?? "kein Name";
|
||||
public string Category => SelectedTournament?.Competition ?? "keine Kategorie";
|
||||
public string Competition => SelectedTournament?.Competition ?? "keine Kategorie";
|
||||
public string StartDate => SelectedTournament?.StartDate.ToString("d") ?? "kein Datum";
|
||||
public string EndDate => SelectedTournament?.EndDate.ToString("d") ?? "kein Datum";
|
||||
public string Location => SelectedTournament?.Location ?? "kein Ort";
|
||||
@@ -41,7 +41,7 @@ namespace Apollon.WPF.ViewModels
|
||||
OnPropertyChanged(nameof(HasSelectedTournament));
|
||||
OnPropertyChanged(nameof(Organisation));
|
||||
OnPropertyChanged(nameof(TournamentName));
|
||||
OnPropertyChanged(nameof(Category));
|
||||
OnPropertyChanged(nameof(Competition));
|
||||
OnPropertyChanged(nameof(StartDate));
|
||||
OnPropertyChanged(nameof(EndDate));
|
||||
OnPropertyChanged(nameof(Location));
|
||||
|
||||
Reference in New Issue
Block a user