Theme not displaying correctly at runtime

3 posts, 1 answers
  1. Luke
    Luke avatar
    7 posts
    Member since:
    Sep 2019

    Posted 27 Oct 2019 Link to this post

    Good Morning All,

    I am developing an application that has a main Ribbon Form as the base form.

    I have added a CrystalDark theme to the form and applied it and everything is displaying as i would expect in the designer.  However when i run the application the control buttons at the top of the form and the ribbon change to a standard default windows buttons. 

    I have included before and after images to this post.

    Can anyone please assist in how i can get this not to happen and the theme ones to override and always show even at run-time.

    Tanks in advanced


  2. Answer
    Dimitar avatar
    2960 posts

    Posted 28 Oct 2019 Link to this post

    Hi Luke,

    You need to set the AllowThemenig property to false. This property disables the Windows theming and the form will use the Telerik one:

    this.AllowTheming= false;

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Luke
    Luke avatar
    7 posts
    Member since:
    Sep 2019

    Posted 28 Oct 2019 in reply to Dimitar Link to this post

    Hi Dimitar,

    As easy as that.  Thanks very much.


Back to Top