hi
how can i set a style like office10s outlookbar, to the XamOutlook bar??
Hello jadugar,
If you want to set the office 2010 Blue theme for XamOutlookBar you will have to do the following steps :
1. Add the following xaml files in a folder called "CustomFolder" in your project
- Office2010Blue.xamDialogWindow.xaml
- Office2010Blue.xamMenu.xaml
- Office2010Blue.xamOutlookBar.xaml
2. Add ResourceDictionaries to App.xaml
<Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="CustomFolder/Office2010Blue.xamOutlookBar.xaml"/> <ResourceDictionary Source="CustomFolder/Office2010Blue.xamMenu.xaml"/> <ResourceDictionary Source="CustomFolder/Office2010Blue.xamDialogWindow.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources>
When you start the application , you should have the theme applied . Hope that helps to you !
Regards , Nikola
Where can i find the 3 files below???
If you are using 10.3 (the version that supporst office 2010 blue themes) you should find shortcut for themes from Start Menu ... Infragistics > NetAdvantage 2010.3 > Silverlight > Themes > Open Themes Folder
Regards, Nikola .
It worked!!!Thanks
Last question.. are there other themes for XamOutLookBar avaliable?
Thanks again
bye
would you please attach a sample with that particular exception that you are having in order to see what the problem is! Thank you!
Regards, Nikola.
Sorry i'm late.
My english isn't good.So maybe i can not widely explain my problem.
However, i described the thrown exception below.
Unhandled exception ('Unhandled Error in Silverlight ApplicationCode: 4004Category: ManagedRuntimeErrorMessage: System.InvalidOperationException: Impossible to solveTargetName DisabledVisualElement.
I would like to point out that in my Ribbon there are 4 button.
3 of them are used to show a childWindow, and the last one to refresh the page wich is working properly without exceptions nor errors.
I'm having problem when i click on the one of first 3 buttons.
Hence the exception is thrown because of childwindow, i think.
Thank you
Hi jadugar,
from that description is difficult to found out what the real problem is ! If you don't mind you could attach sample reproducing that error in order to isolate the problem , if you already haven't ! Thank you.
Regards , Nikola !
Hey,
I noticed that, after adding the Office2010 style to OutlookBar, i'm getting an exception when i click on a button in the ribbon(not outlookBar) wich i used in other place in my project.
Then i tried to remove the Office2010 style from outlookbar and i didn't have any problem and any type of exception.
Strange!!
It's good!!!I like it.
I changed its color using blend, now i'm looking for further customize..