Hi,
I am having an issue with styling MapPolygons. I am able to style some settings such as the tooltip but am unsuccessful in styling other aspects like the border.
What I am trying to do is apply an Effect to a MapPolygon when the mouse is over it. Below is a Xaml snippet of my style, which doesn't work with or without the trigger.
Applying a BorderBrush in the style doesn't work either. Is there something I am missing?
Thanks in advance.
Nick
I am having an issue with styling MapPolygons. I am able to style some settings such as the tooltip but am unsuccessful in styling other aspects like the border.
What I am trying to do is apply an Effect to a MapPolygon when the mouse is over it. Below is a Xaml snippet of my style, which doesn't work with or without the trigger.
<
Style
x:Key
=
"zoneStyle"
TargetType
=
"telerik:MapPolygon"
>
<
Style.Triggers
>
<
Trigger
Property
=
"IsMouseOver"
Value
=
"True"
>
<
Setter
Property
=
"Effect"
>
<
Setter.Value
>
<
DropShadowEffect
ShadowDepth
=
"3"
BlurRadius
=
"3"
Color
=
"Purple"
/>
</
Setter.Value
>
</
Setter
>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
Applying a BorderBrush in the style doesn't work either. Is there something I am missing?
Thanks in advance.
Nick