Looking for demo theme

4 posts, 0 answers
  1. Martin Horst
    Martin Horst avatar
    39 posts
    Member since:
    Apr 2010

    Posted 04 Jun 2010 Link to this post

    Hi,

    in the RadForms demo application the cells of the calendar control (First Look) have a blue header an are separated with a thin blue lines. In the example code the calendar controls uses a "Scheduler" theme. Is this theme only used inside the demo? I try to get the same visual style in my application, but without success.

    Regards

    Martin

  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 09 Jun 2010 Link to this post

    Hello Martin Horst,

    Thank you for the question.

    The Scheduler theme is a part of the Miscellaneous theme component. You should drag this component on your form and set the theme of your RadCalendar instance to Scheduler.

    I hope this helps.

    Regards,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Martin Horst
    Martin Horst avatar
    39 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2010 Link to this post

    Hi,

    I'm now trying to use this theme. The theme works fine as long as i don't use this theme workaround

    http://www.telerik.com/community/forums/winforms/themes-and-visual-style-builder/theming-don-t-work-properly.aspx

    In this case I alway get the Office theme. I'm not realy sure if this is caused by using the work around or by setting ApplicationThemeName property to Office2010. I usually want to use the Office theme except for the calendar. 

    Thanks in advance

    Martin Horst

  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 04 Aug 2010 Link to this post

    Hello Martin,

    Thank you for getting back to us.

    You are not able to apply the Scheduler theme to RadCalendar, because of the ApplicationThemeName setting.

    The alternative to ApplicationThemeName is ApplyThemeToControlThree. When called, this method sets the theme of all RadControls in a given control three. Please note that the method works at a form level, but not at an application level. So, if you have several forms, you should call the method for each of these forms. For example, the following code snippet will set the theme of RadControls in a given form to Office2010, while the theme of RadCalendar will be set to Scheduler (this is the form instance):
    ThemeResolutionService.ApplyThemeToControlTree(this, "Office2010");
    this.radCalendar1.ThemeName = "Scheduler";

    I hope this helps. If you have additional questions, feel free to contact me.

    Greetings,
    Nikolay
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top