<UserControl x:Class="Uno. UI.Samples. UITests. ImageBrushTestControl. ImageBrushAlignmentXY2"
			 xmlns:controls="using:Uno. UI.Samples. Controls"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:local="using:Uno. UI.Samples. UITests"
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
			 xmlns:u="using:Uno. UI.Samples. Controls"
			 xmlns:uBehaviors="using:Uno. UI.Samples. Behaviors"
			 xmlns:ios="http://nventive.com/ios"
			 xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:android="http://nventive.com/android"
			 xmlns:not_ios="http://nventive.com/not_ios"
			 xmlns:shapes="clr-namespace:Uno. UI.Xaml. Shapes;assembly=nVentive. Umbrella"
			 mc:Ignorable="d ios android"
			 d:DesignHeight="600"
			 d:DesignWidth="400">
    <controls:SampleControl SampleDescription="Effect of ImageBrush. Stretch on the visual result">
        <controls:SampleControl. SampleContent>
            <DataTemplate>
                <StackPanel>
                    <TextBlock Text="[AlignmentX=Left, Stretch=Uniform] This should display an image with a green border." / >
                    <Border BorderBrush="Green"
							BorderThickness="5,10,15,20"
							Width="200"
							Height="70">
                        <Border. Background>
                            <ImageBrush Stretch="Uniform"
										AlignmentX="Left"
										ImageSource="http://i.imgur.com/tpFJ94J.jpg" />
                        </Border. Background>
                    </Border>
					
					<TextBlock Text="[AlignmentX=Right, Stretch=Uniform] This should display an image with a green border." / >
                    <Border BorderBrush="Green"
							BorderThickness="10,15,20,5"
							Width="200"
							Height="70">
                        <Border. Background>
                            <ImageBrush Stretch="Uniform"
										AlignmentX="Right"
										ImageSource="http://i.imgur.com/tpFJ94J.jpg" />
                        </Border. Background>
                    </Border>
					
					<TextBlock Text="[AlignmentY=Top, Stretch=UniformToFill] This should display an image with a green border." / >
                    <Border BorderBrush="Green"
							BorderThickness="15,20,5,10"
							Width="200"
							Height="70">
                        <Border. Background>
                            <ImageBrush Stretch="UniformToFill"
										AlignmentY="Top"
										ImageSource="http://i.imgur.com/tpFJ94J.jpg" />
                        </Border. Background>
                    </Border>
					
					<TextBlock Text="[AlignmentY=Bottom, Stretch=UniformToFill] This should display an image with a green border." / >
                    <Border BorderBrush="Green"
							BorderThickness="20,5,10,15"
							Width="200"
							Height="70">
                        <Border. Background>
                            <ImageBrush Stretch="UniformToFill"
										AlignmentY="Bottom"
										ImageSource="http://i.imgur.com/tpFJ94J.jpg" />
                        </Border. Background>
                    </Border>
                </StackPanel>
            </DataTemplate>
        </controls:SampleControl. SampleContent>
    </controls:SampleControl>
</UserControl>