Hi friends.
I want to handle Enter key or Space bar key on richTextBox in WPF.
By KeyDawn event I couldn't do it. :ehh:
Can you help me ?
Printable View
Hi friends.
I want to handle Enter key or Space bar key on richTextBox in WPF.
By KeyDawn event I couldn't do it. :ehh:
Can you help me ?
OK. I found it :
<RichTextBox Name="t" PreviewKeyDown="t_PreviewKeyDown"></RichTextBox>
Yes. In general any WPF event that has a 'Preview' prefix is fired before the operation has occurred.