    <ListBox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" ScrollViewer.CanContentScroll="False"  Height="141" Width="310">

        <ListBox.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel Orientation="Horizontal"></StackPanel>
            </ItemsPanelTemplate>
        </ListBox.ItemsPanel>
        <!--Element I-->
        <ListBoxItem TextSearch.Text="Niemcy">
            <StackPanel>
                <StackPanel Name="listBixPanel1" Orientation="Horizontal" TextSearch.Text="Niemcy">
	            <Image Source="FlagaNiemcy.png"/>
	             <TextBox Width="120"  VerticalAlignment="Center" FontSize="30" FontWeight="Bold">Niemcy</TextBox>
                </StackPanel>

                <Rectangle 
      Height="{Binding Path=ActualHeight, ElementName=listBixPanel1}" 
      Width="{Binding Path=ActualWidth, ElementName=listBixPanel1}">
                    <Rectangle.Fill>
                        <VisualBrush Opacity="0.55"
          Visual="{Binding ElementName=listBixPanel1}">
                        </VisualBrush>
                    </Rectangle.Fill>
                    <Rectangle.LayoutTransform>
                        <ScaleTransform ScaleY="-0.75"/>
                    </Rectangle.LayoutTransform>
                    <Rectangle.OpacityMask>
                        <LinearGradientBrush EndPoint="0,1">
                            <GradientStop Offset="0.25" Color="Transparent"/>
                            <GradientStop Offset="1" Color="#77000000"/>
                        </LinearGradientBrush>
                    </Rectangle.OpacityMask>
                </Rectangle>
            </StackPanel>
        </ListBoxItem >
        <!--Element II-->
        <ListBoxItem TextSearch.Text="Anglia">
            <StackPanel>
                <StackPanel Name="listBixPanel2" Orientation="Horizontal" HorizontalAlignment="Center" >
                    <Image Source="FlagaAnglia.png"/>
                    <TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30" FontWeight="Bold">Anglia</TextBlock>
                </StackPanel>
                <Rectangle 
      Height="{Binding Path=ActualHeight, ElementName=listBixPanel2}" 
      Width="{Binding Path=ActualWidth, ElementName=listBixPanel2}">
                    <Rectangle.Fill>
                        <VisualBrush 
          Visual="{Binding ElementName=listBixPanel2}">
                        </VisualBrush>
                    </Rectangle.Fill>
                    <Rectangle.LayoutTransform>
                        <ScaleTransform ScaleY="-0.75"/>
                    </Rectangle.LayoutTransform>
<Rectangle.OpacityMask>
                        <LinearGradientBrush EndPoint="0,1">
                            <GradientStop Offset="0.25" Color="Transparent"/>
                            <GradientStop Offset="1" Color="#77000000"/>
                        </LinearGradientBrush>
                    </Rectangle.OpacityMask>                </Rectangle>
            </StackPanel>
        </ListBoxItem >
        <!--Element III-->
        <ListBoxItem TextSearch.Text="Francja">
            <StackPanel >
                <StackPanel Name="listBixPanel3" Orientation="Horizontal" HorizontalAlignment="Center" >
                    <Image Source="FlagaFrancja.png"/>
                    <TextBlock DockPanel.Dock="Top" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="30" FontWeight="Bold">Francja</TextBlock>
                </StackPanel>
                <Rectangle 
      Height="{Binding Path=ActualHeight, ElementName=listBixPanel3}" 
      Width="{Binding Path=ActualWidth, ElementName=listBixPanel3}">
                    <Rectangle.Fill>
                        <VisualBrush 
          Visual="{Binding ElementName=listBixPanel3}">
                        </VisualBrush>
                    </Rectangle.Fill>
                    <Rectangle.LayoutTransform>
                        <ScaleTransform ScaleY="-0.75"/>
                    </Rectangle.LayoutTransform>
                    <Rectangle.OpacityMask>
                        <LinearGradientBrush EndPoint="0,1">
                            <GradientStop Offset="0.25" Color="Transparent"/>
                            <GradientStop Offset="1" Color="#77000000"/>
                        </LinearGradientBrush>
                    </Rectangle.OpacityMask>
                </Rectangle>
            </StackPanel>
        </ListBoxItem>
    </ListBox>
