Skip to content

Commit

Permalink
Merge pull request #72 from AvaloniaUI/fixes/65-header-scroll
Browse files Browse the repository at this point in the history
Bind header scroller two-way.
  • Loading branch information
grokys committed Feb 4, 2022
2 parents 412d246 + 813d553 commit 8043dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<DockPanel>
<ScrollViewer DockPanel.Dock="Top"
IsVisible="{TemplateBinding ShowColumnHeaders}"
Offset="{Binding Scroll.Offset, RelativeSource={RelativeSource TemplatedParent}}"
Offset="{Binding Scroll.Offset, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
HorizontalScrollBarVisibility="Hidden"
VerticalScrollBarVisibility="Disabled">
<Border BorderThickness="0 0 0 1" BorderBrush="{DynamicResource TreeDataGridGridLinesBrush}">
Expand Down

0 comments on commit 8043dc0

Please sign in to comment.