Hello,
I have an expetion "An unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in DevExpress.Spreadsheet.v15.1.Core.dll. Additional information: The given key was not present in the dictionary" . This ex occurs when i change default style, change style of any cell and save document into xlsx format.
Sample:
Workbook book = new Workbook();
book.Styles.DefaultStyle.Font.Name = "Arial";
book.Styles.DefaultStyle.Font.Size = 10.0;
Style st = book.Styles.Add("test");
st.CopyFrom(BuiltInStyleId.Normal);
st.Fill.BackgroundColor = Color.Aqua;
book.Worksheets[0].Cells[0, 0].Style = st;
book.SaveDocument(@"d:\xlsx_test.xlsx", DocumentFormat.OpenXml);
Thank you
Hello,
I have reproduced this behavior and passed this ticket to our developers for further research. Please bear with us.
We will notify you as soon as we make any progress.