A normal Window will show Tooltips "Minimize", "Maximize" etc. while the mouse is hovering over the title
If I use XamRibbonWindow there are no tooltips.
How do I enable the standard Tooltips?
Hello Horst,
I have been investigating into the behavior you are reporting and at the moment, I cannot seem to reproduce the behavior you are seeing with a vanilla XamRibbonWindow on the page. Are you potentially applying any themes or styling to your window? If so, it is possible that you will need to include some default styles relating to the XamRibbonWindow in order to apply the same tooltips. Can you please provide some additional information on this?
Please let me know if you have any other questions or concerns on this matter.
Hello Andrew,
I have further investigated this issue...
I have applied the Office213 Theme and you need to use the RibbonWindowContentHost to reproduce:
XAML:
<igRibbon:XamRibbonWindow xmlns="">schemas.microsoft.com/.../presentation" xmlns:x="">schemas.microsoft.com/.../xaml" xmlns:d="">schemas.microsoft.com/.../2008" xmlns:mc="">schemas.openxmlformats.org/.../2006" xmlns:local="clr-namespace:WpfApp13" xmlns:igRibbon="">infragistics.com/Ribbon" x:Class="WpfApp13.MainWindow" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <igRibbon:RibbonWindowContentHost> <igRibbon:XamRibbon Height="144" VerticalAlignment="Top"> <igRibbon:XamRibbon.ApplicationMenu> <igRibbon:ApplicationMenu/> </igRibbon:XamRibbon.ApplicationMenu> <igRibbon:XamRibbon.QuickAccessToolbar> <igRibbon:QuickAccessToolbar/> </igRibbon:XamRibbon.QuickAccessToolbar> </igRibbon:XamRibbon> </igRibbon:RibbonWindowContentHost></igRibbon:XamRibbonWindow>
c#:
using Infragistics.Themes;using Infragistics.Windows.Ribbon;namespace WpfApp13{ /// <summary> /// Interaktionslogik für MainWindow.xaml /// </summary> public partial class MainWindow : XamRibbonWindow { public MainWindow() { ThemeManager.ApplicationTheme = new Office2013Theme(); InitializeComponent(); } }}
thank you for the sample application which shows the correct tooltips.
But when I want to merge the RibbonOffice2013.xaml I get a lot of error messages related to the "luna" theme which is not available:
1>Fehler beim Buildvorgang.1>1>"C:\SVN\CSharp\trunk\NovaAnalysis\NovaAnalysis\NovaAnalysis.csproj" (Build;BuiltProjectOutputGroup;BuiltProjectOutputGroupDependencies;DebugSymbolsProjectOutputGroup;DebugSymbolsProjectOutputGroupDependencies;DocumentationProjectOutputGroup;DocumentationProjectOutputGroupDependencies;SatelliteDllsProjectOutputGroup;SatelliteDllsProjectOutputGroupDependencies;SGenFilesOutputGroup;SGenFilesOutputGroupDependencies Ziel) (1) ->1>(MarkupCompilePass1 Ziel) -> 1> C:\SVN\CSharp\trunk\NovaAnalysis\NovaAnalysis\RibbonOffice2013\RibbonGeneric.xaml(1721,30): error MC3074: Das Tag "SystemDropShadowChrome" ist im XML-Namespace "clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna" nicht vorhanden. Zeile 1721 Position 30.1> C:\SVN\CSharp\trunk\NovaAnalysis\NovaAnalysis\RibbonOffice2013\RibbonOffice2013.xaml(1103,30): error MC3074: Das Tag "SystemDropShadowChrome" ist im XML-Namespace "clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna" nicht vorhanden. Zeile 1103 Position 30.1> C:\SVN\CSharp\trunk\NovaAnalysis\NovaAnalysis\RibbonOffice2013\RibbonScenic.xaml(527,9): error MC3074: Das Tag "SystemDropShadowChrome" ist im XML-Namespace "clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna" nicht vorhanden. Zeile 527 Position 9.1>1> 0 Warnung(en)1> 3 Fehler
regards Horst
I added "PresentationFramework.Luna" to the references section and now the theme is merged.
But it is not showing the Office2013 theme styles but only the standard theme.
It is rather strange that after merging the Office2013 theme that the theme is not applying. Can you please provide some more detail on where exactly you are merging the theme? That is, which element’s Resources are you merging the theme with? In the sample project I sent you, the theme is merged in the Application.Resources and that appears to be working correctly.
I will open a support case and attach a modified project to show the behavior.
Regards Horst
Thank you for your update on this matter. I have taken a look at the private case and have since answered it.
It appears that the Office2013 theme is applying in the sample project you provided for the controls that you have merged it for. The control that it is not appearing for is the XamDockManager, but I wouldn’t expect it to, as the merged theme is for the Office2013 Ribbon and the Office2013 styles are not there for the XamDockManager.
Being that we aren’t making any theme-modifications to the XamDockManager, though, I would simply recommend that you set the Theme property on the XamDockManager to “Office2013.”