Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
how to set CellFormat.FillPatternForegroundColor for the version of 20.2 InfragisticsWPF4
posted

I have a dotnet framework windows gui app using InfragisticsWPF4.v20.2 upgraded from V14.1, where the following code was working for V14.1, but not working any more even in compiling:

excelWorkSheetRow.Cells[i + level].CellFormat.FillPatternForegroundColor = System.Drawing.Color.LightGray;

Cannot implicitly convert type 'System.Drawing.Color' to 'System.Windows.Media.Color'.

same to CellFormat.BottomBorderColor, CellFormat.LeftBorderColor, and CellFormat.FillPatternForegroundColor

excelWorkSheetRow.Cells[i + level].CellFormat.FillPattern = FillPatternStyle.Solid;

CellFormat.FillPattern is obsolete, it suggests to use Fill - how to?

Please help with some samples. Thanks!

Parents Reply Children
No Data