📅  最后修改于: 2022-03-11 15:00:41.551000             🧑  作者: Mango
'' ************** Source NAYCode.com
Dim band As UltraGridBand = Me.UltraGrid1.DisplayLayout.Bands(0)
For Each row As UltraGridRow In Me.UltraGrid1.Rows.GetRowEnumeratorGridRowType.DataRow,
Nothing, Nothing)
If row.Band.Index = 0 Then
If row.Cells("QTY").Value = 0 Then
row.RowSelectorAppearance.ImageBackground =
My.Resources.ResourceManager.GetObject("BulletRedLarge")
End If
End If
Next