This is a migrated thread and some comments may be shown as answers.

How to apply telerik theme to Wpf base components

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steffen
Top achievements
Rank 1
Steffen asked on 20 Apr 2009, 03:35 PM
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.

1 Answer, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 22 Apr 2009, 10:12 AM
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.
Tags
General Discussions
Asked by
Steffen
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Share this question
or