我已将图像设置为单元格,并且必须在某个时间点删除。
//代码
'Get the first cell of the first column in the grid
UltraGridCell = UltraGridRow.Cells(UltraGridColumn.Index)
If (UltraGridColumn.Hidden = False) Then
'Set the cell image
UltraGridCell.Appearance.Image = My.Resources.Tran_comment_161
UltraGridCell.Appearance.ImageHAlign = HAlign.Right
UltraGridCell.Appearance.ImageVAlign = VAlign.Top
Exit For
Else
'Code to remove the image from the cell
End If
我怎样才能做到这一点?