MainWindow.xaml 1.1 KB

123456789101112131415161718192021222324
  1. <Window x:Class="WpfApp1.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:WpfApp1"
  7. mc:Ignorable="d"
  8. Title="Books" Height="450" Width="800">
  9. <Window.Resources>
  10. <Style x:Key="title" TargetType="TextBlock">
  11. <Setter Property="FontFamily" Value="Harlow Solid Italic"></Setter>
  12. <Setter Property="FontSize" Value="35"/>
  13. <Setter Property="Foreground" Value="#bd6262"/>
  14. </Style>
  15. </Window.Resources>
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="47*"/>
  19. <RowDefinition Height="372*"/>
  20. </Grid.RowDefinitions>
  21. <TextBlock Text="Books" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center" Style="{StaticResource title}"></TextBlock>
  22. <Frame Grid.Row="1" Name="MainFrame" NavigationUIVisibility="Hidden"></Frame>
  23. </Grid>
  24. </Window>