Skip to content

Commit 3193693

Browse files
committed
ux: force using double-click to expand/collapse item in TreeView (not TreeDataGrid)
1 parent 91d73e2 commit 3193693

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Resources/Styles.axaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,8 @@
12161216
Classes="tree_expander"
12171217
Focusable="False"
12181218
HorizontalAlignment="Center"
1219-
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" />
1219+
IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}"
1220+
IsHitTestVisible="False" />
12201221
</Panel>
12211222
<ContentPresenter Name="PART_HeaderPresenter"
12221223
Grid.Column="1"

0 commit comments

Comments
 (0)