How to remove selection behavior from the map legend layers

508
2
08-09-2019 01:37 PM
ReemaPruthi
New Contributor II

Hello dotMorten,

I have been googling a lot about this issue and ended up creating a ticket here for any sort of help that I can get. I wish to remove the selection behavior altogether (via mouse and tap) from the map legend layers. I don't want any kind of selections possible in there. If that is not possible, I would atleast want to know how to set the selection color to white/transparent??

Regards,
Reema

0 Kudos
2 Replies
ReemaPruthi
New Contributor II

This is an urgent issue. Can someone please help?

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Have you tried Morten's suggestion on the Toolkit issue you opened? 

...look at the control templates used. It's probably a setting on the listview control that you can set by overriding the control template.

The following links should help you get started:

Item containers and templates - Windows UWP applications | Microsoft Docs 

Disabling selection of some items in a UWP ListView | Magnus Montin 

Cheers

Mike

0 Kudos