This is a migrated thread and some comments may be shown as answers.

RadDocking Layout Validation

0 Answers 51 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 26 Mar 2020, 06:41 PM

Hello!

The right behavior for using panes in Docking is like that: we set/modify PanesSource property, Panes property is initialized by using PanesSource and DockingPanesFactory, panes are created or removed. But when set PanesSource,  try to load invalid layout and get an exception, Docking.Panes property is set to null and actual panes is not removed, because we don`t have them in Panes property. This behavior cause problems with resolving panes (because there are old panes in memory, that should have been removed). Can you suggest some sort of validation for layout or ways to clean old panes from memory?

No answers yet. Maybe you can help?

Tags
Docking
Asked by
Andrew
Top achievements
Rank 1
Share this question
or