<Window x:Class="WpfApp1.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:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <!-- 
    <Grid Height="200" Width="400" Background="#FF00ff">
        <Border Margin="10 20 30 40" Background="Yellow">
            <Border Padding="40 30 20 10">
                <TextBox Width="50" Height="30">
                </TextBox>
            </Border>
        </Border>
    </Grid>
    -->
    <!--
    <Grid ShowGridLines="True">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        
        <Button Content="0/0" Width="30"/>
        <Label Grid.Row="1" Content="első oszlop második sorában vagyok " />
        <Calendar Grid.Row="2" Grid.Column="1" />
    </Grid>
     -->
    <!-- 
    <Grid>
        <StackPanel Width="200" Orientation="Horizontal">
            <Button Height="20" Content="button 1" Margin="10"></Button>
            <Button Height="20" Content="button 2" Margin="10"></Button>
            <Button Height="20" Content="button 3" Margin="10"></Button>
        </StackPanel>
    </Grid>
    -->
    <!-- 
    <Grid Width="200" Height="200">
        <WrapPanel>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
            <Ellipse Fill="Red" Height="40" Width="40"></Ellipse>
        </WrapPanel>
    </Grid>
    -->
    <!--
    <Grid>
        <DockPanel LastChildFill="True">
            <Button Content="Dock=Top" DockPanel.Dock="Top" Background="Beige"></Button>
            <Button Content="Dock=Right" DockPanel.Dock="Right" Background="Gold"></Button>
            <Button Content="Dock=Left" Background="Beige"></Button>
            <Button Content="Dock=Bottom" DockPanel.Dock="Bottom" Background="Beige"></Button>
            <Image Source="cat.png" Stretch="Fill"></Image>
        </DockPanel>
    </Grid>
    -->

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="150"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"></ColumnDefinition>
            <ColumnDefinition Width="auto"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Button Grid.RowSpan="2" Content="2 sor"></Button>
        <GridSplitter Grid.Row="0" Grid.RowSpan="2" Grid.Column="1" Width="8" Background="Beige" ResizeBehavior="PreviousAndNext" ResizeDirection="Columns"></GridSplitter>
        <Button Grid.Column="2" Grid.ColumnSpan="2" Content="2 oszlop"></Button>
        <Button Grid.Row="1" Grid.Column="2" Content="1,2"></Button>
        <Button Grid.Row="1" Grid.Column="3" Content="1,3"></Button>
    </Grid>
</Window>
