Change Shortcut key tooltip text

SyntaxEditor for Silverlight Forum

Posted 6 years ago by Bill Rokos
Version: 17.1.0211
Avatar

Hi, 

I'm adding a button to the toolbar with shortcut key Ctrt+Shift+S. See code bellow:

var btn = new EditActionCommand<SaveEditAction>(this, "Save")
      {
        Caption = "Save",
        TooltipText = "Saves Code",
        ShortcutKey = Key.S,
        ShortcutModifiers = ModifierKeys.Control | ModifierKeys.Shift
      }

 

Everything works fine and when i hoover over the button, I get a tool tip "Saves Code (Control-Shift-S)". I want to change the text for the shortcut key in the tooltip to "Saves Code (Ctrl+Shift+S)", is this possible?

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Bill,

I don't believe we have anything with a ShortcutModifiers property in SyntaxEditor.  Maybe EditActionCommand is a custom class you have?


Actipro Software Support

The latest build of this product (v18.1 build 0233) was released 4 years ago, which was after the last post in this thread.