Is it possible to export cell styles like background, font, etc? I would like to refer to the style currently applied for a cell and carry that forward for the export to Excel. I would like to get a WYSIWYG export of the grid to Excel.
For instance,
For instance,
If (e.Element = ExportElement.HeaderRow) Then
e.Background = radGridView.HeaderRowStyle.GetValue(<BackgroundProperty of the style applied for header row>)
End If
Being able to do this will eliminate duplicate style, one for the UI and one for the export. Since the grid is styled in XAML, none of the colors etc is currently available in code (unless I can retrive it programmatically via code).
Thanks.