개정판 c7b02506
issue #000: Cut - Clipboard 수정
Change-Id: If994c6fadd183db1699d2611fb1234e471b848e9
KCOM/Events/CutCommand.cs | ||
---|---|---|
21 | 21 |
using System.Text; |
22 | 22 |
using System.Windows; |
23 | 23 |
using System.Windows.Media; |
24 |
using System.Windows.Threading; |
|
24 | 25 |
using System.Xml; |
25 | 26 |
using System.Xml.Serialization; |
26 | 27 |
|
... | ... | |
100 | 101 |
} |
101 | 102 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
102 | 103 |
//Clipboard.SetText(MarkupData,TextDataFormat.Text); |
103 |
Clipboard.SetData(DataFormats.StringFormat, MarkupData); |
|
104 |
Dispatcher.CurrentDispatcher.Invoke(() => |
|
105 |
{ |
|
106 |
Clipboard.SetData(DataFormats.StringFormat, MarkupData); |
|
107 |
}, DispatcherPriority.Background); |
|
108 |
//Clipboard.SetData(DataFormats.StringFormat, MarkupData); |
|
104 | 109 |
|
105 | 110 |
} |
106 | 111 |
} |
내보내기 Unified diff