title: How to make custom object stored in the Clipboard paste-able into Notepad (or any other text editor)?
body: <p>I am working with Cut copy Paste functionality of my class objects.
  I am able to keep the data on Clipboard and get it back for this purpose.</p>
  
  <p>Now what I am trying is to get the same data on some other text editor through <kbd>ctrl</kbd>+<kbd>V</kbd> or paste operation provided by that text editor.</p>
  
  <p>The code for setting the data on clipboard is :</p>
  
  <pre><code>  /// &lt;summary&gt;
    /// Set elements on the clipboard.
    /// &lt;/summary&gt;
    /// &lt;param name="object"&gt;object to be stored on the clipboard.&lt;/param&gt;
    private static void SetElementsOnClipboard(CustomData object)
    {
       Tuple&lt;string, Type&gt; serializedElement = null;
       var data = new System.Windows.DataObject();
       serializedElement = new Tuple&lt;string, Type&gt;(SerialiseData(object), object.GetType());
       data.SetData("SomeKey", serializedElement);
  
       System.Windows.Clipboard.SetDataObject(data);
    }
  </code></pre>
  
  <p>Here the method <code>SerialiseData(CustomData object)</code>  returns a string object that I want to paste in other text editor.</p>
  
  <p>I would appreciate any help.</p>