Initial commit
This commit is contained in:
44
C#/WPFProject/MainWindow.xaml
Normal file
44
C#/WPFProject/MainWindow.xaml
Normal file
@@ -0,0 +1,44 @@
|
||||
<Window x:Class="WPFProject.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:WPFProject"
|
||||
mc:Ignorable="d"
|
||||
Title="leon-hoppe.de" Height="720" Width="1080">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="70"/>
|
||||
<RowDefinition />
|
||||
<RowDefinition Height="70"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid Grid.Row="0" Name="Header" Background="#3498db">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="250"/>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="250"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Image Grid.Column="0" HorizontalAlignment="Left" Height="65" Source="D:/Logos/white.png"/>
|
||||
|
||||
<Label Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Startseite" FontSize="30" Foreground="White" Name="Title"/>
|
||||
|
||||
<Button Grid.Column="2" Height="30" Width="70" Content="Home" HorizontalAlignment="Left" Margin="10" Click="HomeClick" Cursor="Hand"/>
|
||||
<Button Grid.Column="2" Height="30" Width="70" Content="Produkte" HorizontalAlignment="Center" Margin="10" Click="ProductsClick" Cursor="Hand"/>
|
||||
<Button Grid.Column="2" Height="30" Width="70" Content="Kontakt" HorizontalAlignment="Right" Margin="10" Click="ContactClick" Cursor="Hand"/>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="1" Name="Home" Visibility="Visible" Background="#34495e">
|
||||
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="1" Name="Products" Visibility="Hidden" Background="#34495e">
|
||||
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="1" Name="Contact" Visibility="Hidden" Background="#34495e">
|
||||
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user