<UserControl
    x:Class="ImageSamplesLib2013.FaceWarp"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ImageSamplesLib2013"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">
    
    <Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="*" />
		</Grid.RowDefinitions>
		<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0 0 0 10">
			<Button Content="Load your own image" Click="LoadImage" Margin="0 0 10 0" Width="180" HorizontalAlignment="Right" />
			<Button Content="Export warped image" Click="ExportImage" Margin="0 0 10 0" Grid.Column="1" Width="180" />
			<Button Content="Restart" Click="Restart" Grid.Column="2" Width="140" HorizontalAlignment="Left" />
		</StackPanel>
		<Grid Name="imageGrid" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center">
			<Image Stretch="None" Name="image" />
		</Grid>
	</Grid>
</UserControl>
