AvalonDock
AvalonDock copied to clipboard
LayoutAnchorable.IsActive property is not working
Steps to reproduce:
- Clone https://github.com/silviubogan/cs-extended-wpf-test-1
- Start the program
- Make the
Data Grid
the active tab by clicking on it - Click on the button at the top of the window
- The
Flow View
tab should be active but theData Grid
is instead
I tested this with 3.5.0 (the version part of the Extended WPF Toolkit) and the same happens.
I've read this page but I did not find something useful.
The relevant part of the program, after the part which deserializes some XML with a changed layout:
var la = MyDockingManager.FindName("MyFlowViewAnchorable") as Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable;
Dispatcher.BeginInvoke(new Action(() =>
{
la.IsActive = true;
}));
No exception is thrown, no error is shown.
Thank you.