Styling RichTextBox

1 Answer 21 Views
RichTextBox
hhgm
Top achievements
Rank 1
Iron
Iron
Iron
hhgm asked on 25 Feb 2025, 06:24 AM

Hi,

In my project I am working on using RichTextBox to edit HTML text. In the project I use implicit styling and the Expression Dark theme. And for everything else in the project it works fine, but I am having issues with the RichTextBox.

I have added the reference to the dll, and in App.xaml I have added the styles. I was expecting the textbox to become darker, but I can also see a bunch of errors from the styling.

Wonder what I am missing.

 

hhgm
Top achievements
Rank 1
Iron
Iron
Iron
commented on 25 Feb 2025, 06:19 PM | edited

--
hhgm
Top achievements
Rank 1
Iron
Iron
Iron
commented on 25 Feb 2025, 10:51 PM

Maybe the document is always white? Because the ribbon adapts the dark color scheme fine.

Wonder how to remove the text "My Application"? Can not find a property, style or any reference to this text anywhere.

RadRichTextBoxRibbonUI

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 27 Feb 2025, 09:47 PM

Hello Hans-Henrik,

The background of the document area is white by default and it won't change with changes in the Telerik theme. However, there is a feature request to allow supporting page backgrounds. On the request page you can also find a couple of suggestions on how to set the background.

About the errors, without reproducing this I can't tell what exactly happens. You can share a sample project that recreates the problem.

To change the "My Application" text, you can set the ApplicationName property of RadRichTextBoxRibbonUI.

Regards,
Martin Ivanov
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
RichTextBox
Asked by
hhgm
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or