Change Shortcut key tooltip text

SyntaxEditor for Silverlight Forum

Posted 1 year 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 1 year 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 0232) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.