title: In one event want to create an image and in same function want to start drag on that image
body: <p>I have one imagecanvas in XAML.</p>
  
  <pre><code> &lt;Canvas Name="imgCanvas" &gt;
                  &lt;Canvas.RenderTransform&gt;
                      &lt;CompositeTransform TranslateX="0" TranslateY="0" CenterX="0" CenterY="0"&gt;&lt;/CompositeTransform&gt;
                  &lt;/Canvas.RenderTransform&gt;
  
  
  
              &lt;/Canvas&gt;
  </code></pre>
  
  <p>In class constructor I m adding drag event to this canvas</p>
  
  <pre><code>   g = GestureService.GetGestureListener(imgCanvas);
              g.DragStarted += new EventHandler&lt;DragStartedGestureEventArgs&gt;(g_DragStarted);
              g.DragDelta += new EventHandler&lt;DragDeltaGestureEventArgs&gt;(g_DragDelta);
              g.DragCompleted += new EventHandler&lt;DragCompletedGestureEventArgs&gt;(g_DragCompleted);
  </code></pre>
  
  <p>Now in 1 tap function I'm creating image dynamically, and adding as a children of canvas</p>
  
  <p>When tap event finished then I am able to drag that image.</p>
  
  <p>Is there any way so that I can use hold type function..and instead of using tap I can use hold and in hold function only without making my mouse up I can drag it.</p>
  
  <p>I try mouseleftbuttondown and mousemove event also ....but in mouse move function I m not able to drag it.</p>
  
  <pre><code>Ct.translateX+=e.GetPosition(layoutGrid).X;//not working
  
  Ct.translateY+=e.GetPosition(layoutGrid).Y;
  </code></pre>
  
  <p>Please suggest to me any way so that I can add image to canvas and able to drag that in 1 tap.</p>