<UserControl
   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:noesis="clr-namespace:NoesisGUIExtensions" xmlns:five="clr-namespace:FiveGui"
   mc:Ignorable="d" x:Class="FiveGui.UIImageViewer" x:Name="_UIImageViewerControl" d:DesignWidth="1920" d:DesignHeight="1080">
    <UserControl.Resources>
      <ResourceDictionary>
            <Storyboard x:Key="NextFrame">
                <RectAnimation To="{Binding Frame}" Duration="0:0:1" Storyboard.TargetName="_Image" Storyboard.TargetProperty="Viewbox"/>
            </Storyboard>
        </ResourceDictionary>
   </UserControl.Resources>

   <Grid x:Name="LayoutRoot">
       <Rectangle>
          <Rectangle.Fill>
             <ImageBrush x:Name="_Image" ImageSource="TestImage.png" Viewbox="0,0,640,480" ViewboxUnits="Absolute"/>
          </Rectangle.Fill>
        </Rectangle>
   </Grid>
</UserControl>