Any moderators could confirm if the following change (the lines commented out) has no side effects on other controls? It seems to me to get the expected behavior.
protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
// Force opening window by clicking
LayoutAnchorControl currentLayoutAnchorControl = e.Source as LayoutAnchorControl;
var model = currentLayoutAnchorControl.Model as LayoutAnchorable;
e.Handled = true;
_openUpTimer = new DispatcherTimer(DispatcherPriority.ApplicationIdle);
_openUpTimer.Interval = TimeSpan.FromMilliseconds(400);
_openUpTimer.Tick += new EventHandler(_openUpTimer_Tick);
Thank you for your reply.
I am providing a picture to make the scenario clearer. “Connection Manager” and “Licensing” are auto-hidden two anchorables. “Connection Manager” is above “Licensing”. When I am in the scenario described in picture_2.png, if I click on Auto-Hide button (middle button in the AnchorablePaneTitle) of Licensing’s panel first and then Connection Manager’s panel, the order has been changed (“Connection Manager” is below “Licensing”).
My question is: how can I keep original order after any opening/closing panels actions?