Hi,
We are building a template system using Telerik WPF Diagram. This involves replacing template shape content with actual data from the DB. Based on the data, we have to move shapes around in relation to each other.
Now, the issue is that for shapes that have width set to Auto, you can not get the shape dimensions before the shape is rendered by the diagram, and there does not seem to be any event that indicates whether the diagram has done rendering all the items that have been added to it programmatically.
Random Thread.sleep is problematic as you can imagine. Is there any solid mechanism available wherein one can know that the diagram has completed the rendering the final item that has been added to it?
We basically need a event/callback that will be triggered once the diagram has completed rendering of items.