链接ListView中的列 [英] Link columns in a ListView

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

问题描述

嗨!



我有一个包含两列的ListView。在第一列(块)中,每个块的多个块与第二列(移动)中显示的一些移动相关联。

我试图建立下一个结构:



阻止    运动

               1个

1&NBSP ;            2

                3



           &NBSP ;   1个

2

             &NBSP ; 2



我将用一个例子给出我的解释:

当我选择第一个块(1)时必须选择相关的运动(1,2,3),反之,如果我选择一个运动,则必须选择相关的块。

我怎么能得到这个?



我希望一切都清楚。如果不是,抱歉,这是我的第一次。



问候和谢谢。

解决方案

< blockquote> 如何在WPF DataGridView中合并数据中心 [ ^ ]



请看一下这个链接.....希望这会对你有所帮助


Hi!

I´ve a ListView with two columns. In first column (Blocks) I´ve a number of blocks an each block has associated a few movements that are shown in second column (Movements).
I trying to have the next structure:

Block   Movements
              1
1            2
              3

              1
2
              2

I´m going to use an example to give my explanation:
When I select the first block (1) all its associated movements (1,2,3) have to be selected and viceversa, if I select one movement, the block associated has to be selected.
How I can get this?

I hope all is clear. If it isn´t, sorry, It´s my first time.

Regards and thanks.

解决方案

How to merge datacells in WPF DataGridView[^]

Please have a look at this link..... hope this will help you


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

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