feat: sync with upstream

This commit is contained in:
rabbitism 2024-01-27 16:00:56 +08:00
parent c0c89cbfd7
commit a2d6469620

View File

@ -511,9 +511,13 @@
Grid.Row="1" Grid.Row="1"
Grid.RowSpan="2" Grid.RowSpan="2"
Grid.Column="0" Grid.Column="0"
Grid.ColumnSpan="3"> Grid.ColumnSpan="3"
ScrollViewer.IsScrollInertiaEnabled="{TemplateBinding IsScrollInertiaEnabled}">
<DataGridRowsPresenter.GestureRecognizers> <DataGridRowsPresenter.GestureRecognizers>
<ScrollGestureRecognizer CanHorizontallyScroll="True" CanVerticallyScroll="True" /> <ScrollGestureRecognizer
CanHorizontallyScroll="True"
CanVerticallyScroll="True"
IsScrollInertiaEnabled="{Binding (ScrollViewer.IsScrollInertiaEnabled), ElementName=PART_RowsPresenter}" />
</DataGridRowsPresenter.GestureRecognizers> </DataGridRowsPresenter.GestureRecognizers>
</DataGridRowsPresenter> </DataGridRowsPresenter>
<Rectangle <Rectangle