Unplanned
Last Updated: 22 May 2023 05:07 by ADMIN
Chris
Created on: 22 May 2023 05:02
Category: CollapsiblePanel
Type: Bug Report
0
RadCollapsiblePanel: Themes are not applied correctly to the header

The following themes are affected: Office2019Dark, Office2019Gray, Office2019Light, CrystalDark:

 

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 22 May 2023 05:07

Hello, Chris,

Thank you for bringing this to our attention. Currently, the possible solution that I can suggest is to set the desired color for the header: 

        public RadForm1()
        {
            InitializeComponent();

            SetColor(this.radCollapsiblePanel1);
            SetColor(this.radCollapsiblePanel2);
            SetColor(this.radCollapsiblePanel3);
            SetColor(this.radCollapsiblePanel4);
        }

        private void SetColor(RadCollapsiblePanel collapsiblePanelc)
        {
           collapsiblePanelc.CollapsiblePanelElement.HeaderElement.DrawFill = true;
           collapsiblePanelc.CollapsiblePanelElement.HeaderElement.GradientStyle = GradientStyles.Solid;
            collapsiblePanelc.CollapsiblePanelElement.HeaderElement.BackColor = Color.Red;
        }

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.