ComponentFactory.Krypton.Toolkit.MenuLinkLabelController.MatchMnemonic C# (CSharp) Method

MatchMnemonic() public method

Determine if the keys value matches the mnemonic setting for this target.
public MatchMnemonic ( char charCode ) : bool
charCode char Key code to test against.
return bool
        public bool MatchMnemonic(char charCode)
        {
            if (_menuLinkLabel.ItemEnabled)
                return Control.IsMnemonic(charCode, _menuLinkLabel.ItemText);
            else
                return false;
        }