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

Docking/MDI for WPF Forum

The latest build of this product (v2019.1 build 0683) was released 2 months ago, which was before this thread was created.
Posted 8 days ago by Leif Wang
Version: 19.1.0683
Avatar

Hi

   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!

Ruifeng,

[Modified 8 days ago]

Comments (1)

Posted 7 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

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

Add Comment

Please log in to a validated account to post comments.