订单排序,优化异常重拍

This commit is contained in:
wule committed 2026-10-19 18:18:02 +08:00
1 parent fd0ff6771f
commit d36774ea18
7 files changed
+74 -9

No files matched your search

@@ -58,10 +58,13 @@
<ColumnDefinition Width="120*" />
<ColumnDefinition Width="72*" />
</Grid.ColumnDefinitions>
<TextBlock d:Text="No.1"
<TextBlock
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}, Converter={StaticResource listBoxIndexConverter}}" />
d:Text="1"
Text="{Binding ItemOrder.Index}" />
<!-- Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=(ItemsControl.AlternationIndex)}" -->
<!-- Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBoxItem}}, Converter={StaticResource listBoxIndexConverter}}" -->
<CheckBox
Grid.Column="1"
Margin="0,0,0,0"