Code WPF Translator

Loaded

<Window x:Class="Dictionary.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:Dictionary"
        mc:Ignorable="d"
        Title="Translator 1.0" Height="450" Width="800">
     <Grid>
          <Grid.Background>
               <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF3F7CFF" Offset="0.125"/>
                    <GradientStop Color="#FEECFF30" Offset="0.981"/>
               </LinearGradientBrush>
          </Grid.Background>
          <Grid.RowDefinitions>
               <RowDefinition Height="1.5*" />
               <RowDefinition Height="*" />
               <RowDefinition Height="1.5*" />
          </Grid.RowDefinitions>
          <TextBox Grid.Row="0" Margin="10" Text="Привіт" FontSize="90"/>
          <Button Grid.Row="1" Margin="200,5" Content="Translate" FontSize="45" Background="#FF92B7F7"/>
          <TextBox Grid.Row="2" Margin="10" FontSize="90" Text="Hello"/>
     </Grid>
</Window>