5 Answers, 1 is accepted
In order to display your header the same way as in the designer, you need to set the AllowThemenig property to false. This property disables the Windows theming and the form will instead use the currently selected Telerik theme or Control Default:
Please don't hesitate to ask if you have any further questions.
Ok, that was extreme simple.
Thank you, Dimitar.
If im running the Application with
MainForm = NEW MyForm().
the AllowTheme will be ignored.
For all others, that shwon like
I have tested a scenario where I created an instance of MyForm and set AllowTheming property before Application.Run(). I have also tested setting AllowTheming property in MyForm's constructor where it is more common and still was not able to reproduce the described behavior. The property was respected in both cases. Am I missing something? Can you please modify my project if you are still encountering the same problem, so that I can investigate further. Thank you in advance for your cooperation.
I am looking forward to your reply.