© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
79 replies
Will Pittenger

✅ WPF trees with some items that can't be selected

I'm building a UI with a tree view where some items exist only to group children. The tree will function as a kind of vertical tree control. When most items in the tree are selected, I'll show a control next to the tree. But the items that are only groups don't have a control to show. So I don't want to allow their selection.

How do I pull that off?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ ❔ Bind selected items
C#CC# / help
4y ago
Textblock is overlapping with combobox items (WPF)
C#CC# / help
2y ago
Can't get items to be added to update
C#CC# / help
4y ago
❔ WPF can't remove some kind of window title hitbox
C#CC# / help
3y ago