My Entire application is looking great with the resouce-washer provided by infragistic. its looks good.
I am using XamMultiColumnComboEditor in my WPF controls but its not taking resource-washer washcolor.
I am sending my sample code with this mail. Please let me know how to fix it.
Thanks,
Paresh Patel
Hi Paresh Patel,
since XamMultiColumnComboEditor is a shared(cross-platform - it's available for SL & WPF) its themes are applied as ResourceDictionaries that you need to add to your project and merge those dictionaries to the merged dictionaries of the ResourceWashes.
You could get more details about the themes at this help page.
Probably another useful resource would be Mihail's blog post on ResourceWasher and themes.
I've updated your project so the XamMultiColumnComboEditor will get washed. Note that I've used the theme files for 13.2 against the WPF 13.2 assemblies. You need to include the theme files corresponding to your controls version. They are located at C:\Program Files\Infragistics\2013.2\WPF\Themes if you have installed the product at its default location.
Hope this helps,
Thanks for your immediate response. it solve my problem.
But new problem, its not applying on XamDialogWindow. Can you please take a look.
I have slightly changed the sample app. but its giving me error if I add xamdialogwindow as a style.
Thanks but there is a minor error, as I am inheriting XamDialogwindow and adding some extra property.
And its not taking resouce washer..
If I Used Default XamDialogWindow then its fine. but not with my custom dialog window.
Attaching sample app.
This is happening because the theme for XamDialogWindow is applied through style located in IG.xamDialogWindow.xaml file. It is an implicit style that is being applied to any instance of the control. When you extend the dialog window the theme style is not applied since the type of the control is different. What you need to do to fix this is to open the IG.xamDialogWindow.xaml file located the style definition starting with the following line:<Style TargetType="igDW:XamDialogWindow"> and fix it to target the derived type instead.
To do so you need to add a namespace in the theme ResourceDictionary pointing to the namespace where the derived dialog window is defined: xmlns:local="clr-namespace:MouseEvents_XamDataGrid" and after that you need to fix the first line of the style for the dialog window like the following: <Style TargetType="local:XamCustomDialogWindow"> .
Check out the attached sample.
Regards,
Thanks you very much. problem has been fixed.
Thanks for your solutions.
Sorry by mistake I clicked the button.
No worries.
I'm glad I was able to help.