public string DisplayString() { var ret = KeycodeExts.DisplayString(Key); if (Modifiers.HasModifier(Modifiers.Shift)) { ret = "Shift + " + ret; } if (Modifiers.HasModifier(Modifiers.Alt)) { ret = "Alt + " + ret; } if (Modifiers.HasModifier(Modifiers.Ctrl)) { ret = "Ctrl + " + ret; } if (Modifiers.HasModifier(Modifiers.Meta)) { ret = (Platform.CurrentPlatform == PlatformType.OSX ? "Cmd + " : "Meta + ") + ret; } return(ret); }