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

Styling RichTextBox not supported?

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 07 Mar 2011, 05:54 PM

I´m trying to set styling on RichTextBox, but no styling is applied. Telerik styling is not supported for RichTextBox?

My code example:

<Window x:Class="Richtextboxstyling.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <RichTextBox  telerik:StyleManager.Theme="Office_Silver"
                     Height="140"
                     VerticalScrollBarVisibility="Auto" 
                     HorizontalAlignment="Stretch" 
                     VerticalAlignment="Stretch"  />
    </Grid>
</Window>

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 10 Mar 2011, 08:33 AM
Hi Pavel,

Telerik Themes are designed to serve the purposes of RadControls and are not supported on all Windows controls. In case you meant to use a RadRichTextBox, setting the Theme can be done just as in the snippet you posted. There are some glitches with some of the themes, but we will probably fix them for Q2, when we plan to extend our support for styling the control.

Best wishes,
Iva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
General Discussions
Asked by
Pavel
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or