We are trying to add Office-Style tooltips to our Ribbon. We followed the example on the following page.
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.2/CLR4.0/html/InfragisticsWPF4.Ribbon.v12.2~Infragistics.Windows.Ribbon.XamRibbonScreenTip.html
This example shows the Footer set to "Press F1 for more help" but I can not figure out how to actually get this to work. We have tried various bindings using <MouseBinding.../> and <InputBinding .../> but the Gesture does not accept F1+MouseEnter. We have also considered using the code-behind but all I can think of is to set a private bool = true on MouseEnter, set it to false on MouseLeave and in KeyUp if Key is F1 and bool = true then show help. We have also tried a custom dependency property with the ApplicationCommands.Help but this only seems to work if the control has focus, but we need the help to open when the mouse if over the ribbon button and the user clicks F1. We are using MVVM but at this point I would be fine with a code-behind solution. Also our help is simply just a ContentPanel with the WebBrowser control showing some HTML.
So how exactly do we wire-up some MVVM or code-behind to the MouseEnter + F1 using the sample link above?
Thanks,
-eric
Hello Eric,
Thank you for your post. I have been looking into it and I can say that the approach you described is a good one and you can feel free to use it. I also can say that the link from documentation is just an example and there isn’t any built-in functionality for pressing “F1”.