|
@@ -425,17 +425,18 @@
|
|
|
Name="StkpnlRight"
|
|
|
HorizontalAlignment="Right"
|
|
|
Orientation="Horizontal">
|
|
|
- <Button Margin="4" Command="{Binding ZoomInCommand}">
|
|
|
+
|
|
|
+ <Button Margin="4" Command="{Binding ZoomOutCommand}">
|
|
|
<Path
|
|
|
Width="28"
|
|
|
Height="28"
|
|
|
- Data="M20 12.5C20 16.0899 17.0899 19 13.5 19C9.91015 19 7 16.0899 7 12.5C7 8.91015 9.91015 6 13.5 6C17.0899 6 20 8.91015 20 12.5ZM18.2928 19.5209C16.9284 20.4541 15.2779 21 13.5 21C8.80558 21 5 17.1944 5 12.5C5 7.80558 8.80558 4 13.5 4C18.1944 4 22 7.80558 22 12.5C22 14.6954 21.1677 16.6965 19.8013 18.2048L23.4741 22.0603L22.026 23.4397L18.2928 19.5209ZM12.5 9V11.5H10V13.5H12.5V16H14.5V13.5H17V11.5H14.5V9H12.5Z" />
|
|
|
+ Data="M20 12.5C20 16.0899 17.0899 19 13.5 19C9.91015 19 7 16.0899 7 12.5C7 8.91015 9.91015 6 13.5 6C17.0899 6 20 8.91015 20 12.5ZM18.2928 19.5209C16.9284 20.4541 15.2779 21 13.5 21C8.80558 21 5 17.1944 5 12.5C5 7.80558 8.80558 4 13.5 4C18.1944 4 22 7.80558 22 12.5C22 14.6954 21.1677 16.6965 19.8013 18.2048L23.4741 22.0603L22.026 23.4397L18.2928 19.5209ZM10 11.5H17V13.5H10V11.5Z" />
|
|
|
</Button>
|
|
|
- <Button Margin="4" Command="{Binding ZoomOutCommand}">
|
|
|
+ <Button Margin="4" Command="{Binding ZoomInCommand}">
|
|
|
<Path
|
|
|
Width="28"
|
|
|
Height="28"
|
|
|
- Data="M20 12.5C20 16.0899 17.0899 19 13.5 19C9.91015 19 7 16.0899 7 12.5C7 8.91015 9.91015 6 13.5 6C17.0899 6 20 8.91015 20 12.5ZM18.2928 19.5209C16.9284 20.4541 15.2779 21 13.5 21C8.80558 21 5 17.1944 5 12.5C5 7.80558 8.80558 4 13.5 4C18.1944 4 22 7.80558 22 12.5C22 14.6954 21.1677 16.6965 19.8013 18.2048L23.4741 22.0603L22.026 23.4397L18.2928 19.5209ZM10 11.5H17V13.5H10V11.5Z" />
|
|
|
+ Data="M20 12.5C20 16.0899 17.0899 19 13.5 19C9.91015 19 7 16.0899 7 12.5C7 8.91015 9.91015 6 13.5 6C17.0899 6 20 8.91015 20 12.5ZM18.2928 19.5209C16.9284 20.4541 15.2779 21 13.5 21C8.80558 21 5 17.1944 5 12.5C5 7.80558 8.80558 4 13.5 4C18.1944 4 22 7.80558 22 12.5C22 14.6954 21.1677 16.6965 19.8013 18.2048L23.4741 22.0603L22.026 23.4397L18.2928 19.5209ZM12.5 9V11.5H10V13.5H12.5V16H14.5V13.5H17V11.5H14.5V9H12.5Z" />
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
@@ -495,14 +496,14 @@
|
|
|
VirtualizingPanel.ScrollUnit="Pixel"
|
|
|
VirtualizingPanel.VirtualizationMode="Standard">
|
|
|
<!--
|
|
|
- VirtualizingPanel.IsVirtualizing="true"会加快item加载速度,但是会导致大量绑定失败,Debug时会比较卡顿。
|
|
|
- 需要综合情况来看是否要启用虚拟化
|
|
|
+ VirtualizingPanel.IsVirtualizing="true"会加快item加载速度,但是会导致大量绑定失败,Debug时会比较卡顿。
|
|
|
+ 需要综合情况来看是否要启用虚拟化
|
|
|
-->
|
|
|
<!--
|
|
|
- 此处要用循环模式,否则滚动时容易误触发EndSscroll 从而频繁拿图导致卡顿
|
|
|
- VirtualizingPanel.ScrollUnit="Pixel" 设置鼠标每次滚动的步进值
|
|
|
- VirtualizingPanel.VirtualizationMode="Standard"
|
|
|
- 如果设置成循环模式,回导致偶现选中一页无法取消的情况
|
|
|
+ 此处要用循环模式,否则滚动时容易误触发EndSscroll 从而频繁拿图导致卡顿
|
|
|
+ VirtualizingPanel.ScrollUnit="Pixel" 设置鼠标每次滚动的步进值
|
|
|
+ VirtualizingPanel.VirtualizationMode="Standard"
|
|
|
+ 如果设置成循环模式,回导致偶现选中一页无法取消的情况
|
|
|
-->
|
|
|
<ListBox.ItemContainerStyle>
|
|
|
<Style TargetType="{x:Type ListBoxItem}">
|