Unplanned
Last Updated: 01 Dec 2022 13:46 by ADMIN
Jesse
Created on: 01 Dec 2022 13:13
Category: Spreadsheet
Type: Bug Report
0
RadSpreadsheet: Office2019Dark theme is not properly applied

Please follow the steps in the VS Designer:

1. Add a RadSpreadsheet and Office2019Dark theme:

2. Set the ThemeName for RadSpreadsheet to Office2019Dark:

3. Run the project. You will see that the row/column headers are not readable:

4. Stop the project and reopen the designer:

 

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 01 Dec 2022 13:46

Hello, Jesse,

Thank you for bringing this to our attention. The possible solution that I can suggest is to specify Black color for the column/row headers in the form's Load event:

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            Telerik.WinForms.Controls.Spreadsheet.Worksheets.RadWorksheetEditor activeEditor = this.radSpreadsheet1.SpreadsheetElement.ActiveSheetEditor as RadWorksheetEditor;
            foreach (var c in activeEditor.Children)
            {
                Telerik.WinControls.Spreadsheet.UI.Panel p = c as Telerik.WinControls.Spreadsheet.UI.Panel;
                if (p != null)
                {
                    p.BackColor = Color.Black;
                }
            }
        }

I hope this helps.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.