Change Shortcut key tooltip text

SyntaxEditor for Silverlight Forum

Posted 5 years ago by Bill Rokos
Version: 17.1.0211


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 5 years ago by Actipro Software Support - Cleveland, OH, USA

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 (v2018.1 build 0233) was released 3 years ago, which was after the last post in this thread.