DataEntryDocumentWindow.xaml 1.2 KB

1234567891011121314151617181920212223242526
  1. <Window x:Class="PRSDesktop.Panels.DataEntry.DataEntryDocumentWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:PRSDesktop.Panels.DataEntry"
  7. xmlns:wpf="clr-namespace:InABox.WPF;assembly=InABox.Wpf"
  8. mc:Ignorable="d"
  9. Title="DataEntryDocumentWindow" Height="800" Width="800"
  10. x:Name="Window"
  11. DataContext="{Binding ElementName=Window}">
  12. <wpf:ZoomPanel Background="Gray">
  13. <ItemsControl ItemsSource="{Binding Images}" x:Name="Items">
  14. <ItemsControl.ItemsPanel>
  15. <ItemsPanelTemplate>
  16. <StackPanel Orientation="Vertical"/>
  17. </ItemsPanelTemplate>
  18. </ItemsControl.ItemsPanel>
  19. <ItemsControl.ItemTemplate>
  20. <DataTemplate DataType="ImageSource">
  21. <Image Source="{Binding}"/>
  22. </DataTemplate>
  23. </ItemsControl.ItemTemplate>
  24. </ItemsControl>
  25. </wpf:ZoomPanel>
  26. </Window>