Good Morning,
I'm using version 11.3.0.30 of WPF diagram.
My need is to add to a diagram control in code behind nodes and connectors "read" from a xaml file representing a small subset of the diagram (a kind of template or block defined in a stand alone xaml diagram file).
I tried the obvious way: create a dymmy diagram control, with its own model and view, load a xaml file with standard Load() command and andd nodes and connector to the main diagram control.
Although I see nodes and connectors in the dummy diagram control, the add operation to the model has no effects
I attached a sln with an example. Code to add nodes read from a xaml is on Inject button.
Subfolder TestFiles contains a file to use.
Can you help me?
Thank you
Best regards
Domenico
TestDiagram025_20131218_092928Z_e018c35d.zip