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???
Great , that you managed to setup the theme ! How do you find it? Only that theme is available at the moment , but we will add new in the future !
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!!
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 !
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.
bye
Thank you
would you please attach a sample with that particular exception that you are having in order to see what the problem is! Thank you!