public override void SetClipboardDataObject(IClipboardSetDataObject dataObject, bool copy) { //System.Windows.Forms.Clipboard.SetDataObject(dataObject, copy); System.Windows.Clipboard.SetDataObject(((WpfClipSetDataWrapper)dataObject).DataObject, copy); }
public override void SetClipboardDataObject(IClipboardSetDataObject dataObject, bool copy) { System.Windows.Forms.Clipboard.SetDataObject(dataObject, copy); }
/// <summary> /// Sets the data stored in the dataObject on the clipboard for temporary or permanent usage. /// </summary> /// <param name="dataObject">Object used to store the data.</param> /// <param name="value">If true, the data remains on the clipboard when the application is closed. If false, the data will be removed from the clipboard when the application is closed.</param> public abstract void SetClipboardDataObject(IClipboardSetDataObject dataObject, bool value);
/// <summary> /// Sets the data stored in the dataObject on the clipboard for temporary usage. /// </summary> /// <param name="dataObject">Object used to store the data.</param> public virtual void SetClipboardDataObject(IClipboardSetDataObject dataObject) { SetClipboardDataObject(dataObject, false); }