Theming the non-Rad controls

7 posts, 0 answers
  1. Sameer
    Sameer avatar
    22 posts
    Member since:
    Sep 2011

    Posted 04 Oct 2011 Link to this post

    Hi,
    I am new in Telerik Rad controls. I want to apply Metro theme to all my Rad and non-Rad controls. I found some examples for applying theme to Rad controls and those worked for me. How can I apply theme to non-Rad controls especially Datagrid. I know you support some standard controls like Textbox where in I can explicitly apply the themes. However, i'm concerned for Datagrid.

    Thank you for your help.


  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 05 Oct 2011 Link to this post

    Hi,

     We have themes however only for simple controls - not for DataGrid. You can use RadGridView instead. 

    Best wishes,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Sameer
    Sameer avatar
    22 posts
    Member since:
    Sep 2011

    Posted 05 Oct 2011 Link to this post

    Thanks for the response.
    Datagrid is one of the controls, there are many other OOB which I'm struggling with where Telerik doesn't have any alternate.
    Can you please guide me or provide me with some example so that I can apply Metro theme to non-Rad controls?

    Thank you for your help.
  4. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 05 Oct 2011 Link to this post

    Hi Sameer,

     

    Telerik themes can be applied to the following native Silverlight controls:


    1.System.Windows.Button
    2.System.Windows.CheckBox
    3.System.Windows.ListBox
    4.System.Windows.RadioButton
    5.System.Windows.ScrollViewer
    6.System.Windows.PasswordBox
    7.System.Windows.RepeatButton
    8.System.Windows.TextBox


    Since you have a reference to Metro theme in your project you may apply it using the following syntax:


    <Button Content="Button" telerik:StyleManager.Theme="Metro"................./>


    All the best,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Sameer
    Sameer avatar
    22 posts
    Member since:
    Sep 2011

    Posted 05 Oct 2011 Link to this post

    Thanks for the clarification.

    What if I want to apply Metro theme to other non-Rad controls not mentioned in your list above e.g. Auto-Complete Textbox?

    Thank you for your help
  6. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 05 Oct 2011 Link to this post

    Hi Sameer,

     

    Telerik themes are designed to work mainly with RadControls/Silverlight. They can be applied to a limited set of native Silverlight controls, which are internally used by our controls. We could not have theme support for the full list of native controls and we do not provide such support for AutoCompleteTextBox.



    All the best,
    Vanya Pavlova
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Sameer
    Sameer avatar
    22 posts
    Member since:
    Sep 2011

    Posted 05 Oct 2011 Link to this post

    Ah!
    So can the Metro theme be re-factored and I can use its' styles, brushes & templates and apply them to my controls?

    Thanks you for all your help.
Back to Top