try NavBar
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<UserControl x:Class="Apollon.WPF.Views.Components.NavBarView"
|
||||
<UserControl x:Class="Apollon.WPF.Views.Components.NavBarPreparationView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
@@ -7,7 +7,18 @@
|
||||
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Grid>
|
||||
<StackPanel>
|
||||
<Button Width="35"
|
||||
Height="35"
|
||||
Background="Transparent"
|
||||
BorderThickness="0"
|
||||
Command="{Binding NavigateOverviewCommand}">
|
||||
<iconPacks:PackIconMaterial Kind="ArrowLeft"
|
||||
Height="25"
|
||||
Width="35"
|
||||
Foreground="#0000a0"/>
|
||||
</Button>
|
||||
<Menu Height="450"
|
||||
Background="Transparent"
|
||||
Margin="0,20,0,0">
|
||||
@@ -65,7 +76,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Header="Teilnehmer setzen"
|
||||
Template="{StaticResource Item_Template}">
|
||||
<MenuItem.Icon>
|
||||
@@ -76,7 +87,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
<MenuItem Header="Daten"
|
||||
Template="{StaticResource Menu_SubMenu_Template }"
|
||||
@@ -362,7 +373,7 @@
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
|
||||
</Menu>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -18,9 +18,9 @@ namespace Apollon.WPF.Views.Components
|
||||
/// <summary>
|
||||
/// Interaction logic for NavBarView.xaml
|
||||
/// </summary>
|
||||
public partial class NavBarView : UserControl
|
||||
public partial class NavBarPreparationView : UserControl
|
||||
{
|
||||
public NavBarView()
|
||||
public NavBarPreparationView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
@@ -289,7 +289,7 @@
|
||||
Width="150"
|
||||
Margin="10"
|
||||
Cursor="Hand"
|
||||
Command="{Binding NavigateTournamentDetailsCommand}">
|
||||
Command="{Binding NavigatePreparationCommand}">
|
||||
<Button.Style>
|
||||
<Style TargetType="Button" BasedOn="{StaticResource ModernButton}">
|
||||
<Setter Property="Visibility" Value="Hidden"/>
|
||||
|
||||
Reference in New Issue
Block a user