Navigate to NavBar with data
This commit is contained in:
@@ -218,7 +218,26 @@
|
||||
</Style>
|
||||
</TextBlock.Style>
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
</WrapPanel>
|
||||
<Button
|
||||
Content="Turnier öffnen"
|
||||
FontSize="16"
|
||||
Height="40"
|
||||
Width="210"
|
||||
Margin="40"
|
||||
Cursor="Hand"
|
||||
Command="{Binding NavigateNavBarCommand}">
|
||||
<Button.Style>
|
||||
<Style TargetType="Button" BasedOn="{StaticResource ModernButton}">
|
||||
<Setter Property="Visibility" Value="Hidden"/>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding HasSelectedTournament}" Value="True">
|
||||
<Setter Property="Visibility" Value="Visible"/>
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</Button.Style>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
VerticalAlignment="Center"/>
|
||||
<StackPanel Grid.Column="1">
|
||||
<WrapPanel HorizontalAlignment="Center">
|
||||
<TextBlock Text="Organisation"
|
||||
<TextBlock Text="{Binding Organisation}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="16"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="TournamentName"
|
||||
<TextBlock Text="{Binding TournamentName}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
@@ -34,14 +34,14 @@
|
||||
Margin="10"/>
|
||||
</WrapPanel>
|
||||
<WrapPanel HorizontalAlignment="Center">
|
||||
<TextBlock Text="Competition"
|
||||
<TextBlock Text="{Binding Competition}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="Location"
|
||||
<TextBlock Text="{Binding Location}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
@@ -55,7 +55,7 @@
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="StartDate"
|
||||
<TextBlock Text="{Binding StartDate}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
@@ -69,7 +69,7 @@
|
||||
FontSize="14"
|
||||
Foreground="#0000a0"
|
||||
Margin="10"/>
|
||||
<TextBlock Text="EndDate"
|
||||
<TextBlock Text="{Binding EndDate}"
|
||||
TextAlignment="Center"
|
||||
FontFamily="Arial"
|
||||
FontWeight="Bold"
|
||||
@@ -79,7 +79,7 @@
|
||||
</WrapPanel>
|
||||
</StackPanel>
|
||||
<Image Grid.Column="2"
|
||||
Source="D:\Projekte\Apollon\Apollon\Apollon.WPF\Images\TargetField.png"
|
||||
Source="{Binding CompetitionImage}"
|
||||
Width="70"
|
||||
VerticalAlignment="Center"/>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user