Загрузка данных


<Window x:Class="WpfApplication3.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Галерея пород собак" Height="500" Width="450"
        WindowStartupLocation="CenterScreen">
    <Grid Background="#F4F4F6">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock x:Name="TxtBreedName" Grid.Row="0" FontSize="22" FontWeight="Bold" HorizontalAlignment="Center" Margin="0,20,0,10"/>

        <Border Grid.Row="1" Margin="20" CornerRadius="12" Background="White" ClipToBounds="True" Cursor="Hand" MouseDown="OnSwipeStart" MouseMove="OnSwipeMove" MouseUp="OnSwipeEnd">
            <Image x:Name="ImgDog" Stretch="Uniform" RenderOptions.BitmapScalingMode="HighQuality">
                <Image.RenderTransform>
                    <TranslateTransform x:Name="ImgTransform"/>
                </Image.RenderTransform>
            </Image>
        </Border>

        <TextBlock Grid.Row="2" Text="Потяните влево или вправо для смены породы" Foreground="Gray" FontSize="12" HorizontalAlignment="Center" Margin="0,0,0,15"/>
    </Grid>
</Window>