在一个WinForms应用程序,一个TreeView的水平是由node.level $ B $给B就恰如在WPF对应的一个?
谢谢!
解决方案直接回答你的问题是,有在WPF无级属性。
有没有人给WinForms控件和WPF控件之间的一个关系。由于底层架构和使用是两个完全不同的。在WPF中,你会heirarchical数据(LinkedList的一种数据结构网络化的)绑定到TreeView和定义HeirarchicalDataTemplate到Treeview.ItemTemplate财产
In a WinForms application, the level of a treeview is given by node.level What is the corresponding one in WPF?
Thanks!
解决方案The direct answer to your question is that there is no level property in WPF.
There is no one to one relationship between the winforms controls and wpf control. Because the underlying architecture and usage is totally different in both. In WPF you will bind a heirarchical data(LinkedList kind of Datastructure) to a TreeView and define a HeirarchicalDataTemplate to the Treeview.ItemTemplate property
更多推荐
在WPF树视图的水平?
发布评论