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

Change the look of the scrollbar?

2 Answers 60 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 30 Sep 2010, 12:14 AM
How can I change the look of the scrollbar within the RadRichTextBox?  I have a style which I'd like to apply, but I'm not sure how I can go about doing it.  Every time I seem to look at the RadRichTextBox in Blend it crashes on me. :(

2 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 30 Sep 2010, 06:32 PM
I figured out how to do this by using an implicit style instead of an explicit style for scrollbars.  However, I'm still having issues creating a control template from the RadRichTextBox.  It's definitely not my code because I can reproduce it using an empty Silverlight 4 project that contains just a RadRichTextBox.
0
Iva Toteva
Telerik team
answered on 01 Oct 2010, 12:29 PM
Hello Michael,

I did not seem to encounter your problems creating a control template for the RadRichTextBox instance and for the Scrollbar. The easiest way to do it in Blend is to select the object from the Objects and Timeline tab, right click it and select Edit template -> Edit a copy. Then you can view the code in the XAML or simply use the designer and alter the properties as you like.
I am attaching a project created entirely in Blend which illustrates how you can set the BackgroundColor of the ScrollBars to red.

Greetings,
Iva
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
Tags
RichTextBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Iva Toteva
Telerik team
Share this question
or