在DataGrid中表示父/子的可能方式 [英] Possible ways of representing parent/child in DataGrid
本文介绍了在DataGrid中表示父/子的可能方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我目前在我的项目中使用.NET 3.5 SP1 datagrid.我发现有必要向网格表示我的帐户对象集合.问题在于这些对象具有类型为List< Accounts>的Children属性.我希望它们以用户能够识别父母及其子女的方式显示.如果还可以,则父级应该是可扩展/可折叠的.谢谢!
Hi everyone,
I'm currently using .NET 3.5 SP1 datagrid in my project. I found the need to represent my collection of Account objects to the Grid. The problem is these objects have a Children property of type List<Accounts>. I want them displayed in a manner that users will be able to identify the parents and their children. If it is also possible, the parent should be expandable/collapsible. Thanks!
推荐答案
您好,
该论坛主要用于Windows Communication Foundation.
我认为,如果您在中发布,您将得到更加及时和及时的答复. NET基础类库论坛.
我会将这个话题移到那个论坛.
感谢您发帖!
--Jason
Hi,
This forum is used mainly for Windows Communication Foundation.
I think you will get more a more knowledgable and timely response if you post in the .NET Base Class Library forums.
I will move this thread over to that forum.
Thanks for posting!
--Jason
这篇关于在DataGrid中表示父/子的可能方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文