Currently if you assign a NavigationUrl to a tree view node, navigation will be triggered if you click at any point of the node, including the caret. For non-leaf nodes. it would be nice if you can expand and/or collapse a node without triggering navigation by clicking on the caret.
We have closed this ticket because another page addresses its subject:
Blazor TreeView - It's not possible to expand a parent node that contains the NavigateUrl fieldTreeView for Blazor - Allow to expand/collapse a parent node without navigating if you click on the caret
Answers approved by DevExpress Support
Hello,
DxTreeView can't prevent navigation when a parent node is clicked. We are researching this issue in the context of the Blazor Tree View - It's not possible to expand a parent node if this node contains the NavigateUrl field ticket. I added it to your Favorites, so you will get a notification when we update it.
As a temporary workaround, you can use our Templates feature. I attached a sample project illustrating this approach.