How to remove selection behavior from the map legend layers

63
2
08-09-2019 01:37 PM
Highlighted
New Contributor

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

Reply
0 Kudos
2 Replies
Highlighted
New Contributor

This is an urgent issue. Can someone please help?

Reply
0 Kudos
Highlighted
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

Reply
0 Kudos