链接ListView中的列 [英] Link columns in a 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屋!