Hello! Is there any way to disable default shortcuts or override them?
I created class which inherits the SfRichTextBoxAdv control and overrides OnKeyDown handler.
if i handle default shortcut in that way:
==================================
if (e.Key == VirtualKey.Control)
{
this.isCtrlPressed = true;
}
else if (this.isCtrlPressed)
{
. . . . .
case VirtualKey.O:
e.Handled = true;
//MyCommand here
. . . . .
}
if (!e.Handled)
{
base.OnKeyDown(e);
}
==================================
controls behavior is like Ctrl is always pressed, if i don't press it one more time.
I could set e.Handled = true on Ctrl key down (or Shift, if i would need shortcut with Shift), but it would break control selection behavior