differently colored strings
.NET (Core and Framework)
3
Posts
3
Posters
0
Views
1
Watching
-
How can I insert differently colored strings into ListView control or other (I need so table). Is it possible? I'm programming in Visual Basic.NET. Thanks!!!
You'll need to draw them yourself, perhaps in a derived class ? Christian Graus - Microsoft MVP - C++
-
How can I insert differently colored strings into ListView control or other (I need so table). Is it possible? I'm programming in Visual Basic.NET. Thanks!!!
ListViewItem item1 = myListView.Items.Add( "Item1" ); ListViewItem item2 = myListView.Items.Add( "Item1" ); item1.ForeColor = Color.Red; item2.ForeColor = Color.Blue;