Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Marco83
    Participant
    Post count: 6
    Marco83
    Participant
    Post count: 6

    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.

    Thank you.

    protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
            {
                base.OnMouseEnter(e);
    
                // Force opening window by clicking
                LayoutAnchorControl currentLayoutAnchorControl = e.Source as LayoutAnchorControl;
                var model = currentLayoutAnchorControl.Model as LayoutAnchorable;
                if (model.IsAutoHidden)
                    e.Handled = true;
    
                if (!e.Handled)
                {
                    _openUpTimer = new DispatcherTimer(DispatcherPriority.ApplicationIdle);
                    _openUpTimer.Interval = TimeSpan.FromMilliseconds(400);
                    _openUpTimer.Tick += new EventHandler(_openUpTimer_Tick);
                    _openUpTimer.Start();
                }
            }
    Marco83
    Participant
    Post count: 6

    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?

    Thanks!

    https://postimg.org/image/u95sne86d
    https://postimg.org/image/5glwy80el

Viewing 3 posts - 1 through 3 (of 3 total)