<ListBox ItemTemplate="{StaticResource CardPictureTemplate}" VirtualizingPanel.CacheLength="20,20" MinWidth="160" VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.CacheLengthUnit="Item" x:Name="listView" ItemsSource="{Binding CashRegistersShearch,IsAsync=True}" Style="{StaticResource template}" >
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<EventSetter Event="PreviewMouseLeftButtonDown" Handler="Grid_PreviewMouseLeftButtonDown"/>
</Style>
</ListBox.ItemContainerStyle>
时间: 2024-10-08 22:32:34