<Window x:Class="Wpf_TOMBOLA.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Tombola" Height="450" Width="400"
        MinHeight="450" MinWidth="400">

    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <DockPanel Margin="0,0,0,10" ScrollViewer.VerticalScrollBarVisibility="Disabled">
            <Button x:Name="btnEstrai" Content="Estrai" Width="100" Margin="5" Click="Estrai_Click"/>
            <Button Content="Reset" Width="100" Margin="5" Click="Nuovo_Click" HorizontalContentAlignment="Center" HorizontalAlignment="Right"/>
            <TextBlock x:Name="txtPrecedente1" Margin="5,5,0,5" TextWrapping="Wrap" TextAlignment="Center" FontSize="16" VerticalAlignment="Center" Opacity="0.3" MinWidth="35">
                <TextBlock.Effect>
                    <BlurEffect Radius="7"/>
                </TextBlock.Effect>
            </TextBlock>
            <TextBlock x:Name="txtPrecedente" Margin="5,5,0,5" TextWrapping="Wrap" TextAlignment="Center" FontSize="24" VerticalAlignment="Center" Opacity="0.5" MinWidth="35">
                <TextBlock.Effect>
                    <BlurEffect Radius="6"/>
                </TextBlock.Effect>
            </TextBlock>
            <TextBlock x:Name="txtEstratto" Margin="0,5" TextWrapping="Wrap" TextAlignment="Center" FontSize="32"/>
        </DockPanel>

        <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Disabled">
            <UniformGrid x:Name="gridTabellone" Columns="10"/>
        </ScrollViewer>
    </Grid>
</Window>