Question

4
Replies
654
Views
Close popover
Yogesh Yadav (YogeshY13)
Sun Life India Service Centre PVT Ltd

Sun Life India Service Centre PVT Ltd
IN
YogeshY13 Member since 2018 4 posts
Sun Life India Service Centre PVT Ltd
Posted: March 29, 2018
Last activity: April 2, 2018
Closed

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.

Thanks

Yogesh

***Updated by moderator: Lochan to add Categories***

Robotic Process Automation
Moderation Team has archived post