ComponentFactory.Krypton.Toolkit.KryptonCheckedListBox.InternalCheckedListBox.OnKeyPress C# (CSharp) Method

OnKeyPress() protected method

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs containing the event data.
return void
            protected override void OnKeyPress(KeyPressEventArgs e)
            {
                if ((e.KeyChar == ' ') && (SelectionMode != SelectionMode.None))
                    LbnSelChange();

                if (_kryptonCheckedListBox.FormattingEnabled)
                    base.OnKeyPress(e);
            }