Hello,
the standard behaviour of a treeview in a windows application is, "expand on clicking the arrow/plus symbol", and "select on clicking the treeviews item text". The Telerik RadTreeView also expands/collapses when tapping on the text.
Is there any possibility to prevent the treeview item from expanding/collapsing when tapping its text and instead raising a selection event?
I tried different approches, but nothing worked. I also definded a custom item cell as item template by using "ListViewTemplateCell", but it keeps expanding.
On the treeview item text label I implemented a TapGestureRecognizer (see attached picture). That mostly works, except when you hit the enclosing containers border, it will still expand.
regards,
Martin
the standard behaviour of a treeview in a windows application is, "expand on clicking the arrow/plus symbol", and "select on clicking the treeviews item text". The Telerik RadTreeView also expands/collapses when tapping on the text.
Is there any possibility to prevent the treeview item from expanding/collapsing when tapping its text and instead raising a selection event?
I tried different approches, but nothing worked. I also definded a custom item cell as item template by using "ListViewTemplateCell", but it keeps expanding.
On the treeview item text label I implemented a TapGestureRecognizer (see attached picture). That mostly works, except when you hit the enclosing containers border, it will still expand.
regards,
Martin