更新时间:2023-01-26 20:27:31
试试这个:add将灰色图像添加到分配给列表视图的图像列表中,然后更改相应 ListViewItem 的
ImageIndex 或 ImageKey 属性。 /跨度>
ImageList is assigned to ListViewItems. When ListViewItem is selected, we need to grayout the image.
In the above image, 2nd list view item, the image was grayed out. How can this be done in C# or VB .net?
Santhosh Jakka
Try this: add a greyed image to the image list assigned to List View, then change the ImageIndex or ImageKey property of the corresponding ListViewItem.