public bool IsIdentical(ClipboardItem other)
 {
     var clipboardText = other as ClipboardText;
     if(clipboardText == null)
     {
         return false;
     } else
     {
         return clipboardText.Text == Text;
     }
 }
        private void MessageHookClipboardDataAdded(ClipboardItem clipboardData)
        {
            var thumbnail = clipboardData.CreateNewVisualThumbnail();
            _selectedThumbnail = thumbnail;

            _thumbnails.Insert(0, thumbnail);

            thumbnail.Show();
            thumbnail.ThumbnailActivated += thumbnail_ThumbnailActivated;
            thumbnail.ThumbnailClosed += thumbnail_ThumbnailClosed;
        }
 public bool IsIdentical(ClipboardItem other)
 {
     var clipboardFile = other as ClipboardFile;
     if (clipboardFile == null)
     {
         return false;
     }
     else
     {
         return clipboardFile.Path == Path;
     }
 }
        private void MessageHookClipboardDataAdded(ClipboardItem clipboardData)
        {
            ListBoxItem listBoxItem = clipboardData.BindToListBoxItem();

            listBoxItem.Tag = clipboardData.Snapshot;
            listBoxItem.IsSelected = true;

            lstClipboardContents.Items.Insert(0, listBoxItem);
        }