Hi everyone,
I'm trying to change the selection template of a layer without success...
What I've donne :
|
<esri:GraphicsLayer ID="LinesLayer" MouseLeftButtonDown="LinesLayer_MouseLeftButtonDown" x:Name="_grl_line" SelectionColor="Transparent">
|
- In graphic creation code :
|
graphicLine.PropertyChanged += new PropertyChangedEventHandler((o, p) =>
{
if (p.PropertyName != "Selected") return;
var selectedLine = (Graphic)o;
selectedLine.Symbol = selectedLine.Selected ? SelectedLineSymbol : DefaultLineSymbol;
});
|
And this is the result :

There still is a border on my lines objects and I want to hide it...
Thanks in advance.