This project is read-only.

Drag&drop Point

Feb 19, 2013 at 3:42 PM
Hi, i add a point on the map and it gets style in app.xaml like this:

<Style x:Name="PoiStyle" TargetType="userControls:Poi">
            <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />
            <Setter Property="AnchorPoint" Value="0.5,1.0" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="userControls:Poi">
                        <Image HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="poiImage" AllowDrop="True" >
                        </Image>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
Then i crate i Poi.cs and it's baseclass s PointBase.cs. how can i this point draggable ?