Hi,
I need to change the backcolor, forecolor etc of a complete row.
I dont want to use any events.
I am adding rows to gridview in an event, in whose arguments i am already supplied with a color. So i just want it like in a standard listview:
this.listviewcontrol.forecolor = color.red;
is this way possible in formatting a row of gridview.
I have already tried
this.gvTCPIPEvents.Rows[this.gvTCPIPEvents.Rows.Count - 1].VisualElement.ForeColor = e.messageColor;
but nothing happens.
I dont wish to use any of the rowformatting or cellformatting events, as listed on all of the posts.
Any workaround possible.