Can I change the color of the first line of text based on a condition then change it back to the original.
ie.
list item 1 ' Text color is Green
list item 2 ' Text color is Green
if (Condition = true) then change the text color of list item 3 to Red
list item 4 ' Text color is Green
To do this for the entire list you
lbl = lstMonitor.TwoLinesLayout.Label
lbl2 = lstMonitor.TwoLinesLayout.SecondLabel
lbl.TextColor = Colors.Green
lbl2.TextColor = Colors.Blue
but how do I do it dynamically pr
ie.
list item 1 ' Text color is Green
list item 2 ' Text color is Green
if (Condition = true) then change the text color of list item 3 to Red
list item 4 ' Text color is Green
To do this for the entire list you
lbl = lstMonitor.TwoLinesLayout.Label
lbl2 = lstMonitor.TwoLinesLayout.SecondLabel
lbl.TextColor = Colors.Green
lbl2.TextColor = Colors.Blue
but how do I do it dynamically pr