Workaround:
public class MyInputBehavior : InputBehavior
{
public MyInputBehavior(DocumentView view)
: base(view)
{
}
public override bool ProcessKeyPress(System.Windows.Forms.KeyPressEventArgs e)
{
// TO DO: You code here
e.KeyChar = char.ToUpper(e.KeyChar);
return true;
// By commenting the base call you are supresing the default logic
//return base.ProcessKeyPress(e);
}
}
Then you should replace the default input behavior by using the following code snippet:
this.richTextBox.DocumentView.InputBehavior = new MyInputBehavior(this.richTextBox.DocumentView);
How to reproduce: 1. Run the Mail Merge example (QSF) 2. Select the image inside the document and move it to another position
Currently, colors with an alpha channel defined with the 'rgba' function are not respected, for example, the following:
<span style="background-color: rgba(0, 0, 0, 0.5);">Some text</span>
It is imported as black color; semi-transparent colors are exported without the alpha channel.
ADD. RadRichTextBox - add support for line numbering
When changing the theme through ThemeResolutionService.ApplicationThemeName all the application gets changed. Except the ForeColor of the RadRichTextEditor does not get change. Hence the box displays black text on a dark background. Quite unreadable.
Assigning the theme directly in the designer makes everything renders ok.
Sample application attached.
Regrads,
Matthias
Steps to reproduce:
1. Set ScaleFactor to 1.5
2. Run the form on 125% monitor scaling.
Implement support for content controls (a.k.a. Structured document tags), which will allow inserting editing controls in the document: - Rich Text - Plain Text - Check Box - Combo Box - Drop-down list - Date picker