need NavigationService
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using Apollon.WPF.Commands;
|
using Apollon.Domain.Models;
|
||||||
|
using Apollon.WPF.Commands;
|
||||||
using Apollon.WPF.Stores;
|
using Apollon.WPF.Stores;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,6 +12,7 @@ namespace Apollon.WPF.ViewModels
|
|||||||
{
|
{
|
||||||
public class GroupsViewModel : ViewModelBase
|
public class GroupsViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
|
|
||||||
public TournamentDetailsViewModel TournamentDetailsViewModel { get; }
|
public TournamentDetailsViewModel TournamentDetailsViewModel { get; }
|
||||||
public ICommand NavigateOverviewCommand { get; }
|
public ICommand NavigateOverviewCommand { get; }
|
||||||
|
|
||||||
|
|||||||
@@ -10,10 +10,9 @@ namespace Apollon.WPF.ViewModels
|
|||||||
{
|
{
|
||||||
public class NavBarPreparationViewModel : ViewModelBase
|
public class NavBarPreparationViewModel : ViewModelBase
|
||||||
{
|
{
|
||||||
public ICommand NavigateArchersCommand { get;}
|
public ICommand NavigateOverviewCommand { get;}
|
||||||
public ICommand NavigateGroupsCommand { get;}
|
public ICommand NavigateGroupsCommand { get;}
|
||||||
public ICommand NavigateClassesCommand { get;}
|
public ICommand NavigateClassesCommand { get;}
|
||||||
|
public ICommand NavigateArchersCommand { get;}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
VerticalAlignment="Center">
|
VerticalAlignment="Center">
|
||||||
<TextBox
|
<TextBox
|
||||||
Text="{Binding Rounds}"
|
Text="{Binding Groups}"
|
||||||
FontFamily="Arial"
|
FontFamily="Arial"
|
||||||
FontSize="16"
|
FontSize="16"
|
||||||
Height="30"
|
Height="30"
|
||||||
|
|||||||
@@ -23,7 +23,11 @@
|
|||||||
BorderBrush="#0000a0"
|
BorderBrush="#0000a0"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
CornerRadius="2">
|
CornerRadius="2">
|
||||||
<TextBlock Text="Gruppen" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
|
||||||
|
<TextBlock Text="Gruppen" />
|
||||||
|
<!--<TextBlock Text="{Binding Groups}"/>-->
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
</Border>
|
</Border>
|
||||||
|
|
||||||
<components:TournamentDetails Grid.Column="1" Margin="0,35,0,10" HorizontalAlignment="Center" DataContext="{Binding TournamentDetailsViewModel}"/>
|
<components:TournamentDetails Grid.Column="1" Margin="0,35,0,10" HorizontalAlignment="Center" DataContext="{Binding TournamentDetailsViewModel}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user