C#Listviewitems找不到subitems

2024-12-28 21:06:02
推荐回答(5个)
回答1:

WPF就要用绑定呀,见下面的简单示例

            
                
                                Header="DefectStatuID" 
            DisplayMemberBinding="{Binding Path=ItemID}" 
            />

                                Header="TestTypeName" 
            DisplayMemberBinding="{Binding Path=DefectStatuName}" 
            />


                

            

回答2:

设置属性里面的Items,增加subitems,或者在程序里面直接AddItem

回答3:

WPF就要用绑定呀,见下面的简单示例
123456789101112131415

回答4:

建议使用VS2012

回答5:

能否有个截图?