Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
TreeView是否有任何标准方法可以更改WPF左侧的节点偏移量?我需要得到一个看起来像 aListBox的东西Expander,但我必须TreeView用于数据表示。
TreeView
ListBox
Expander
例如
这个
-TreeViewItem0 |--TreeViewItem01 |--TreeViewItem01 +TreeViewItem1
变成
-TreeViewItem0 TreeViewItem01 TreeViewItem01 +TreeViewItem1