Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Issue: LayoutSerializationCallbackEventArgs.Cancel not respected (in v 2.1) [20803]

$
0
0
Inside __XmlLayoutSerializer.LayoutSerializationCallback__, if we set __LayoutSerializationCallbackEventArgs.Cancel = true__, LayoutDocuments & LayoutAnchorables are still loaded into the view (with null Content properties).

Looking through the source code, it appears as though LayoutAnchorable.Close() & LayoutDocument.Close() are executed, but inside these functions, __this.Root.Manager is null__.

Am I missing an extra step somewhere?
Comments: ** Comment from web user: scottfmcleod **

Thanks for the fix!


Viewing all articles
Browse latest Browse all 4964

Trending Articles