I'm currently trialling the Infragistics WPF toolkit and one of the most useful things to me is going to be the Excel library. However, although this is listed as a WPF component it doesn't seem to support the WPF color objects (System.Windows.Media.Color), only the WinForms color objects (System.Drawing.Color). New WPF projects do not contain a reference to System.Drawing by default, as they should not require it as that was for WinForms. Am I just missing something or is using System.Drawing the only way to set cell background colours etc?
Thanks,
Chris
Hello Chris,
At the moment we haven't plans for creating a WPF only version of the Excel Exporter, but as soon as we have such plans I will let you know.
Thanks, I thought that might be the case :( I guess there are no plans to make a WPF specific version?
Thank you for your post. I have been looking into it and I can say that since the ExcelExport engine is cross-platform and is used in ASP.Net, WinForms and WPF, so the Colors used in it should be universal as well and this is why it uses colors from System.Drawing.Color.