I use a listview to display an image in a row and a description in another row. I'm trying to change the height of a smaller description but not work.
Private
Sub
RadListView1_VisualItemFormatting(sender
As
Object
, e
As
ListViewVisualItemEventArgs)
Handles
RadListView1.VisualItemFormatting
e.VisualItem.ImageLayout = ImageLayout.Stretch
If
Convert.ToInt32(e.VisualItem.Tag) / 2 = 0
Then
'images
e.VisualItem.BackColor = Color.Azure
e.VisualItem.Size =
New
Size(950, 259)
Else
'descripcion of image
e.VisualItem.BackColor = Color.Black
e.VisualItem.Font =
New
Font(
"Consolas"
, 20, FontStyle.Bold)
e.VisualItem.Size =
New
Size(950, 50)
End
If
End
Sub