MainWindow.xaml 1.5 KB

123456789101112131415161718192021222324252627
  1. <Window x:Class="ToursApp.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:ToursApp"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="450" Width="800">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition/>
  12. </Grid.ColumnDefinitions>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="94*"/>
  15. <RowDefinition Height="245*"/>
  16. <RowDefinition Height="80*"/>
  17. </Grid.RowDefinitions>
  18. <Image HorizontalAlignment="Left" Height="94" VerticalAlignment="Top" Width="278" Source="pack://siteoforigin:,,,/Resources/pro_kansk-t_c.png"/>
  19. <Label Content="Header" HorizontalAlignment="Left" Margin="347,28,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.357,0.306" Width="96" Height="45" Cursor="None" FontSize="24"/>
  20. <Grid Background="AliceBlue" Panel.ZIndex="-2">
  21. <Button x:Name="BtnBack" Content="Back" HorizontalAlignment="Left" Margin="606,36,0,0" VerticalAlignment="Top" Width="127" Height="29" Click="Button_Click"/>
  22. </Grid>
  23. <Grid Grid.Row="2" Background="Blue"></Grid>
  24. <Frame NavigationUIVisibility="Hidden" Grid.Row="1" Name="MainFrame" ContentRendered="MainFrame_ContentRendered" Navigated="MainFrame_Navigated" ></Frame>
  25. </Grid>
  26. </Window>