ComponentFactory.Krypton.Ribbon.VisualPopupGroup.OnKeyPress C# (CSharp) Method

OnKeyPress() protected method

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs An KeyPressEventArgs that contains the event data.
return void
        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            // If in keyboard mode then pass character onto the key tips
            if (_ribbon.InKeyboardMode && _ribbon.InKeyTipsMode)
                _ribbon.AppendKeyTipPress(char.ToUpper(e.KeyChar));

            base.OnKeyPress(e);
        }