MainWindow.xaml 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <Window x:Class="MyWpfApp.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:MyWpfApp"
  7. mc:Ignorable="d"
  8. Title="НеMainWindow" Height="450" Width="800">
  9. <Window.Resources>
  10. <Style TargetType="TextBlock">
  11. <Setter Property="FontSize" Value="24"/>
  12. </Style>
  13. </Window.Resources>
  14. <Grid>
  15. <Grid.ColumnDefinitions>
  16. <ColumnDefinition Width="1*"/>
  17. <ColumnDefinition Width="3*"/>
  18. </Grid.ColumnDefinitions>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="80"/>
  21. <RowDefinition Height="*"/>
  22. <RowDefinition Height="40"/>
  23. </Grid.RowDefinitions>
  24. <TextBlock Text="Типа баннер" Grid.Column="0" Grid.Row="1"/>
  25. <TextBlock Text="Типа заголовок" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Style="{StaticResource Zagolovok}"/>
  26. <TextBlock Text="Типа футер" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2" TextAlignment="Center"/>
  27. <Frame Name="FrmMain" Grid.Column="1" Grid.Row="1" NavigationUIVisibility="Hidden"/>
  28. </Grid>
  29. </Window>