4 Answers, 1 is accepted
We were not able to reproduce the issue on our end using the latest Q2 release (2011.2.712). Could you make sure that you are using this version of the control and if that is the case, open a support ticket with a sample application which reproduces the issue.
Looking forward to your reply.
Iva
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
Hi Iva
I didn’t succeed creating a small sample application with that problem. So I guess the problem caused by styles.
How can I override the caret style?
I think that the caret width is related to font size and when the font size too small the caret disappeared.
The problem must be that you have a default style, which overrides the style of the caret. In order to avoid this behavior, you can declare an empty style in the resources of the rich text box like this:
<
telerik:RadRichTextBox
x:Name
=
"editor"
>
<
telerik:RadRichTextBox.Resources
>
<
Style
TargetType
=
"telerikUI:Caret"
/>
<!-- or -->
<
Style
TargetType
=
"TextBox"
/>
<!-- or -->
<
Style
TargetType
=
"Rectangle"
/>
</
telerik:RadRichTextBox.Resources
>
</
telerik:RadRichTextBox
>
provided that you declare the telerikUI namespace like this:
xmlns:telerikUI="clr-namespace:Telerik.Windows.Documents.UI;assembly=Telerik.Windows.Documents"
If this does not help, we would appreciate a sample project or just the styles you are using, so that we can identify the cause of the issue. Best wishes,
Iva
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
<
Style
TargetType
=
"telerikUI:Caret"
/>
worked.Thanks.