Is there a solution to load big xaml to document aync ?

Docking/MDI for WPF Forum

Posted 4 years ago by Leif Wang
Version: 19.1.0683


   My company used Xceed's LayoutDocumentPane to load LayoutDocument( contains a Large workflow xaml content ),it will block the main UI thread when drawing the workflow.

   Now my company has bought actipro license, and we want to replace Xceed with Actipro.

   I would like to ask that do you have controls that can be loaded( load and display a large workflow xaml ) asynchronously?

   Thanks in advance!


[Modified 4 years ago]

Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA


I assume you are referring to Windows Workflow here?  Our Docking/MDI product has document windows that are effectively the same as a normal WPF ContentControl in terms of presenting content, just that their chrome is styled to look like tabbed MDI and have the docking functionality.  

When setting child content for the docking window, you simply set the DocumentWindow.Content property to any FrameworkElement (or Control).  Then the ContentPresenter within the docking window's template renders the content.  It's not really possible for us to do anything asynchronously related to that.

For large complex controls, it's generally up to them to virtualize their contents when rendered. 

Some controls might also take a while to load their data.  For those kinds of things, you would want to load them separately on your own, perhaps in a dispatched call, and then once that's complete, set the resulting FrameworkElement as the DocumentWindow.Content. 

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.