Single Click Instead of MouseOver for Autohide

Feb 23, 2010 at 11:00 PM

I need help on 3 pieces here, so I would appreciate any inputs.

#1. Is it possible to change the icons (The pin, the "X" and the down arrow to something else? For example < and > )

#2. is it possible to say which side of the display a specific panel will get docked to. I know that "Resizing..." allows you to define it Horizontal or Vertical, but I need to be able to Autohide some panels to the right and some to the left.

#3. Is it possible to change the behavior such that instead of a mouse-over, only a single click actually docks (or un-autohides for the lack of a better word) a panel. My business specialist finds the mouse over very interruptive and I guess I have to agree.


--- Viraj 

Mar 18, 2010 at 10:09 PM

You've probably already addressed this yourself, but for others who follow behind, I edited DockablePaneAnchorTab.cs and changed 

protected override void OnMouseMove(MouseEventArgs e) 


protected override void OnMouseDown(MouseButtonEventArgs e)

Also, change base.OnMouseMove to base.OnMouseDown.  I really like this behavior, click to show, click the button or anywhere else in the app to hide.  Well, almost anywhere else.  Anywhere else that will take focus, I guess.  Anyway, definitely better than the hyperactive mouse over for my app.