Cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and Drop in WPF

Genius
Genius

Hello!

 

We want allow our user to drag objects from PS graphic viewer and object tree in our WPF window. I have found classes TxDragAndDropClipboardServices and TxEmsDragAndDropClipboardServices, but they are works with

System.Windows.Forms.DataObjectSystem.Windows.Forms.IDataObject and it is not possible to cast System.Windows.IDataObject to it.
Is there any support for drag-and-drop from PS to WPF control?
 
Best regards
Witalij.
2 REPLIES 2

Re: Drag and Drop in WPF

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Witalij,

 

Currently there is no implementation for WPF controls - we might consider it in the future releases..

I tested the code for WindowsForms - it is possible to drag&drop to a dialog from Graphic Viewer but not from Object Tree.

 

Best Regards,

DianaG

 

Re: Drag and Drop in WPF

Genius
Genius

Hello!

 

It would be nice. It would be also nice to provide a pattern for displaying progress in time-consuming operations with WPF under PS.

 

Best Regards

Witalij.