Posted: 29 Mar 2018 5:51 EDT Last activity: 2 Apr 2018 8:19 EDT
Changing back Color of ListView column Header
I need to have a column header click of ListView where on column click will change the back color of the column which is clicked. This is available via "listView1_DrawColumnHeader" of windows form where we get (DrawListViewColumnHeaderEventArgs e) through which we can change the color using e.Graphics.FillRectangle(new SolidBrush(backColor), e.Bounds). I have set OwnerDraw = "True" and able to achieve this in windows form, but not using Pega Robotics as I am not able to send DrawListViewColumnHeaderEventArgs e as an input to script which I created. There is an event in tool but I am unable to use this, please suggest.
***Updated by moderator: Lochan to add Categories***