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

PreviewEditorKeyDown ?

2 Answers 73 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Maurizio
Top achievements
Rank 2
Maurizio asked on 29 Oct 2014, 12:11 PM
What does PreviewEditorKeyDown do?

The documentation says nothing.
BTW: Telerik ducumentation is autogeneratedn and in many cases you do not find the infos you need. Not good.

2 Answers, 1 is accepted

Sort by
0
Accepted
Petya
Telerik team
answered on 31 Oct 2014, 04:22 PM
Hello Peter,

Thank you for your feedback.

I presume you are talking about the API Reference article for the event, is that correct? Note that while the API Reference is auto generated, each component in the Telerik UI for WPF suite also has documentation organized by features/functionality. For example, you might find the information in the Keyboard Support article for RadRichTextBox helpful in this case.

As to the PreviewEditorKeyDown event, similarly to the Preview Events in WPF, it is a bubbling event that is raised when the focus is in the editor and a key is pressed. It can be used to handle (block) the event or execute an action you want to occur before the action associated with that key.

I hope this helps.

Regards,
Petya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Maurizio
Top achievements
Rank 2
answered on 12 Nov 2014, 09:43 AM
Thanks Petya,

meanwhile I found out myself what the event is about.

I was a little upset about the auto-generated documentation. 
If for instance a method is called  ShowButton() and your documentation says something like "This method shows a button" it helps me less than nothing.

I like most Telerik stuff, but I think that documentation is something you really should improve...

Best regards from Düsseldorf, Germany
Tags
RichTextBox
Asked by
Maurizio
Top achievements
Rank 2
Answers by
Petya
Telerik team
Maurizio
Top achievements
Rank 2
Share this question
or