TreeDataGrid's Expand/Collapse button #17970
-
This triangle is too difficult to select, is there any way to change it to a cross and a button that starts with a word like a Windows tree? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
msneijders
Jan 14, 2025
Replies: 1 comment 4 replies
-
Looks like this is its default template. ( |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this has to do with
BindingPriority
and Setter precedence. Where a simple Style selector gets priority "Style", and the Theme assignment inside the template has "Template", which has higher precedence.But you can "lift up" the BindingPriority to "StyleTrigger" if you add a class name; and then it gets precedence over Template:
Just learned something new ;). But if you want your styling in all of your treedat…