Approved
Last Updated: 05 Jan 2017 07:58 by ADMIN
ADMIN
Andrey
Created on: 18 Apr 2011 03:56
Category: Map
Type: Feature Request
4
Map: Can't use interactivity with MapShape data template
The MapShape data template does not allow to use event triggers like to the following way:
<telerik:MapPath Stroke="{Binding Stroke}" Fill="{Binding Fill}"  StrokeThickness="1" Data="{Binding Geometry}">
    <interactivity:Interaction.Triggers>
        <interactivity:EventTrigger EventName="MouseLeftButtonDown"> 
            <interactivity:InvokeCommandAction  Command="{Binding MyCommand}"/>
        </interactivity:EventTrigger>
    </interactivity:Interaction.Triggers>
</telerik:MapPath>
0 comments