title: How can we copy-paste text and image both from clipboard in uwp C#?
body: <p>I want to paste a note with the combination of text and image in my chat compose box in the same sequence.
  I am using dataPackageView to check clipboard content</p>
  <p>For Example - I need to copy paste a note from a Microsoft note</p>
  <p><a href="https://i.stack.imgur.com/rceay.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rceay.png" alt="enter image description here" /></a></p>
  <pre><code>DataPackageView dataPackageView = Clipboard.GetContent();
  if (dataPackageView.Contains(StandardDataFormats.Bitmap))
  {         
    var img = await dataPackageView.GetBitmapAsync();
  }
  else if(dataPackageView.Contains(StandardDataFormats.Text)
  {                 
    string text = await dataPackageView.GetTextAsync();
  }
  </code></pre>