From 3193693d772a200673db5ac442c9f1dee1392577 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 4 Jul 2024 20:08:37 +0800 Subject: [PATCH] ux: force using double-click to expand/collapse item in TreeView (not TreeDataGrid) --- src/Resources/Styles.axaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Resources/Styles.axaml b/src/Resources/Styles.axaml index f3aedd4b..b19709e7 100644 --- a/src/Resources/Styles.axaml +++ b/src/Resources/Styles.axaml @@ -1216,7 +1216,8 @@ Classes="tree_expander" Focusable="False" HorizontalAlignment="Center" - IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" /> + IsChecked="{TemplateBinding IsExpanded, Mode=TwoWay}" + IsHitTestVisible="False" />