WPF中的treeview + Datagrids [英] treeview+ Datagrids in WPF

查看:99
本文介绍了WPF中的treeview + Datagrids的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好..



我正在寻找解决方案,解决我现在遇到的问题..



我实现了嵌套Datagrids的WPF应用程序

现在我有一个包含很多行的父数据网格,当点击每一行时,会显示一个相关的嵌套网格......



但我现在需要的是......

我需要在父数据网格中每行最左侧的符号上加上+符号。 。因此,当点击该+符号时,只会显示相关的嵌套数据网格。

因为我是WPF应用程序的一部分我正在努力找到解决此问题的方法..



我请求任何人帮助我找到答案这个



在此先感谢

Honeysree

Hello..

I am searching a solution for a problem that i am fcing right now..

I have implemented an WPFapplication of Nested Datagrids
In that now I had a parent datagrid with many rows and when each row is clicked a related nested grid gets displayed...

But what I Need right now is that..
I Need a + symbol to apperar at the left most side of each row in the parent datagrid.,. so that when that + symbol is being clicked then only the related nested datagrid will get apperaed..
since am a fesher in WPF appliaction I am striving to find a solution for this problem..

I request anyone to plz help me out in finding the answer for this

Thanks In Advance
Honeysree

推荐答案

如果您期望通过一串代码和XAML表示整个解决方案,您会感到沮丧;))因为有很多为达到必要的结果而做的工作。



但你有没有试过使用Google搜索?)



所以我会向你提供一些链接:

树与listview控件

[ ^ ]



http://stackoverflow.com/questions/3457107/wpf-handle-editable-hierarchical-data- treeviewdatagrid-hybrid [ ^ ]



http://blogs.msdn.com/b/mrochon/archive/2009/10/16/displaying-hierarchical-data-in-the-datagrid.aspx [ ^ ]
Hi , if you are expecting a whole solution represented via bunches of code and XAML , you will frustrated ;)) Because there are a lot of work to do for reach neccessary result.

But have you ever try to use Google search?)

so i;m going to provide you with some links:
Tree with listview control
[^]

http://stackoverflow.com/questions/3457107/wpf-handle-editable-hierarchical-data-treeviewdatagrid-hybrid[^]

http://blogs.msdn.com/b/mrochon/archive/2009/10/16/displaying-hierarchical-data-in-the-datagrid.aspx[^]


这篇关于WPF中的treeview + Datagrids的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆