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