在WPF树视图的水平?

编程入门 行业动态 更新时间:2024-10-07 02:25:03
本文介绍了在WPF树视图的水平?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在一个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树视图的水平?

本文发布于:2023-11-12 20:51:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1582504.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:视图   水平   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!