Question

4
Replies
488
Views
YogeshY13 Member since 2018 4 posts
Sun Life India Service Centre PVT Ltd
Posted: 2 years ago
Last activity: 2 years 5 months ago
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
Share this page LinkedIn