Code WPF Guess a number

Loaded

<Window x:Class="WpfApp7.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:WpfApp7"
        mc:Ignorable="d"
        Title="Guess My Number" Height="450" Width="800">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="*" />
        <RowDefinition Height="2*" />
        <RowDefinition Height="1.5*" />
      </Grid.RowDefinitions>
   <TextBox Grid.Row="0" FontSize="30" TextAlignment="Center" VerticalAlignment="Center">Guess a random number between 1 and 100</TextBox>
   <Button Grid.Row="1" FontSize="50" Margin="20,20,20,20">
     <Button.Background>
       <RadialGradientBrush>
         <GradientStop Color="#FFF3DB84"/>
         <GradientStop Color="#FF0027FF" Offset="1"/>
         <GradientStop Color="#FFBA84E2" Offset="0.372"/>
       </RadialGradientBrush>
     </Button.Background>Guess</Button>
   <TextBox Grid.Row="2" FontSize="50" TextAlignment="Center" VerticalAlignment="Center">50</TextBox>
  </Grid>
</Window>