How to apply telerik theme to Wpf base components

2 posts, 0 answers
  1. Steffen
    Steffen avatar
    8 posts
    Member since:
    Jan 2009

    Posted 20 Apr 2009 Link to this post

    Hi,

    I've on a window a RadGridView using themed scollbar. My window, richtextbox, textbox, ... use wpf base scrollbars. The look and feel of my application isn't consistent. How can I apply the style of the telerik scrollbars to other scrollbars of my application?

    Thanks,

    Xavier.
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 22 Apr 2009 Link to this post

    Hi Steffen,

    You can customize the appearance of the Scrollbar component either by setting its Style property or by editing the control template.

    In order to apply the style of the telerik scrollviewer control from the QSF, just do the following:

      <ScrollViewer x:Name="ScrollViewer" Padding="5" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Height="400" Style="{StaticResource ScrollViewerStyle}"/>

    You can find ScrollViewerStyle in the source code of the QSF.

    For more information about how to edit Scrollbar control template please visit:
    http://msdn.microsoft.com/en-us/library/ms742173.aspx

    I hope this will help you.

    All the best,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top