title: Using a property of the Sender object for MouseMove Handler for Drag Drop
body: <p>I'm sorry the question isn't clearer.  I was setting up some drag drop based on code in this post.  <a href="https://stackoverflow.com/questions/57908418/get-name-of-controls-for-mousedown-and-dragdrop">Get name of controls for MouseDown and DragDrop</a></p>
  <p>The two controls I am using are different.  The source is a list and the destination is text.  To capture the row of text I want from the list I need to use the .selectedText property.</p>
  <pre><code>     '''
       C1List1.DoDragDrop(C1List1.SelectedText, DragDropEffects.Copy)
       '''
  </code></pre>
  <p>Is there a way to make it generic for any list control?  '''sender.selectedText''' obviously doesn't work but something like this that will work is what I'm looking for.</p>
  <pre><code>    '''C1List1.DoDragDrop(Sender.SelectedText, DragDropEffects.Copy)'''
  </code></pre>