实体框架-绑定WPF树视图控件 [英] Entity Framework - Binding WPF Tree view control
本文介绍了实体框架-绑定WPF树视图控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在服务类别"表中,ParentCategoryId是ServiceCategoryId,并且是父类别,我的类别可能存在第n级层次结构,因此我需要使用树形视图控件"来呈现它.
In Service Category table, ParentCategoryId is the ServiceCategoryId and that is the parent category, there can be nth level hierarchy of my categories, so I need to present this using Tree View Control.
我该怎么做?
谢谢
推荐答案
您可以使用分层数据模板
HTH
这篇关于实体框架-绑定WPF树视图控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文