This is a migrated thread and some comments may be shown as answers.

Multithreading

1 Answer 93 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 25 Oct 2012, 02:01 PM
Hi,

How can I create shapes and connection objects not in the UI thread?
*diagram.Items.Add will be done in the UI thread...

Kind regards,
Igor

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 26 Oct 2012, 01:55 PM
Hello Igor,
If you want to create/load your nodes and links asynchronously you could use the BackgroundWorker class.
I've attached a sample project so could you please examine it and if you have further questions feel free to ask.

All the best,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Diagram
Asked by
Igor
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or