|
@@ -6,6 +6,7 @@
|
|
|
xmlns:local="clr-namespace:PRSDesktop"
|
|
|
xmlns:sf="http://schemas.syncfusion.com/wpf"
|
|
|
xmlns:dynamic="clr-namespace:InABox.DynamicGrid;assembly=InABox.Wpf"
|
|
|
+ xmlns:wpf="clr-namespace:InABox.Wpf;assembly=InABox.Wpf"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="450" d:DesignWidth="800"
|
|
|
x:Name="Control"
|
|
@@ -61,7 +62,7 @@
|
|
|
AllowDrop="True"
|
|
|
DragOver="DynamicTabItem_DragOver"
|
|
|
Drop="DynamicTabItem_Drop">
|
|
|
- <ScrollViewer x:Name="ViewListPanel" VerticalScrollBarVisibility="Auto">
|
|
|
+ <wpf:ZoomPanel x:Name="ZoomPanel">
|
|
|
<ItemsControl Margin="10" ItemsSource="{Binding ViewList}">
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
<ItemsPanelTemplate>
|
|
@@ -80,12 +81,12 @@
|
|
|
</ItemsControl.ContextMenu>
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
<DataTemplate DataType="ImageSource">
|
|
|
- <Image Source="{Binding}" Margin="0,0,0,20" ContextMenu="{Binding RelativeSource={RelativeSource AncestorType=ItemsControl,Mode=FindAncestor},Path=ContextMenu}"
|
|
|
+ <Image Source="{Binding}" Margin="0,0,0,20" ContextMenu="{Binding RelativeSource={RelativeSource AncestorType=ItemsControl,Mode=FindAncestor},Path=ContextMenu}"
|
|
|
MouseLeftButtonDown="Image_MouseLeftButtonDown"/>
|
|
|
</DataTemplate>
|
|
|
</ItemsControl.ItemTemplate>
|
|
|
</ItemsControl>
|
|
|
- </ScrollViewer>
|
|
|
+ </wpf:ZoomPanel>
|
|
|
</Border>
|
|
|
</Grid>
|
|
|
</dynamic:DynamicTabItem>
|