I have a Save button in one of my groups. In minimized mode, for some reason after clicking the button, the ribbon does not automatically close.
Any ideas?
Hello,
I would expect the tabs to close automatically when you click the button tool. Please provide me with more details about what version of NetAdvantage you are using as well as the environment that you reproduce this behavior in.
Is the behavior specific to the Save button or does it happen for other buttons on the Ribbon as well. If it is specific to the Save button, please provide more details about what is being done when you click the save button.
Alan
Net Advantage 3.0Build: 8.2.20082.2013
Happens in Vista, XP, with or without .NET SP1.
It happens on all buttons that don't display anything after the click. I tried moving the focus to another control inside the Click handler, but has no success.
Something perculiar with the application I'm working on, there are 2 ribbons.
I have done some testing on a very basic sample using build 8.2.20082.2013 and wasn't able to reproduce the issue with Ribbon not collapsing even when I added a second XamRibbon.
Are you able to reproduce the issue in a sample that you can attach to this post that I could use for debugging?
Please also note that the Microsoft Office 2007 UI Guidelines only allows for one Ribbon on a Window.
I am trying to do something related to this discussion. I wish to simply minimise the ribbon when a button (actually an Image control) is clicked in the ribbon tab. The reason for this is because clicking this particular Image control results in the mouse cursor changing, but it only actually changes when the ribbon is minimised.
I've found that by calling MoveFocus() on the ribbon causes it to minimise, but is there a better way to achieve the above?
Thanks,
Jason
So just to clarify, the IsMinimized is true and the ribbon is expanded/open and you want to close the ribbon. If that's the case then you can all Keyboard.Focus(null) similar to how a WPF button does.