TreeViewItem used for dynamic FluentTreeView generation via Items should have Data field to be able to set FluentTreeItem.Data #3527
KrystofZacek
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
This would help with my issue #3474 where I want to apply style individually to each tree item. I have experimented with sub-classing TreeViewItem to achieve something similar but this suggestion is much better in my view. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
FluentTreeItem has Data property to attach custom data to it which can be very useful. However, there is no way to attach these Data when providing the items to the FluentTreeView programatically using Items parameter. The Items parameter takes collection of TreeViewItem class objects and this class has no Data field. I propose to add the Data property to the TreeViewItem class and use it to set the Data of FluentTreeItem.
Beta Was this translation helpful? Give feedback.
All reactions