Check if window name is available to be lazy loaded from serialized layout.

Docking/MDI for WPF Forum

Posted 5 years ago by Andrew Hanlon
Version: 14.2.0610
Avatar

When I load a layout from the serializer using lazy loading, obviously only the layout for previously open windows are 'loaded'. Is there a way to check if the name of a window is availble in the lazyloading mechanism, such that if not additional layout rules can be applied?

Thank you,

[Modified 5 years ago]

Comments (1)

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

Hi Andrew,

I don't believe we have anything that returns if lazy load data is available for a given window name.  But you could derive that info yourself if during the deserialization of the layout, you handle the deserializing event and watch for docking windows being deserialized.  If the DockSite doesn't contain a docking window of the specified name, then it will be a candidate for lazy load.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.