ComponentFactory.Krypton.Toolkit.MenuCheckBoxController.MatchMnemonic C# (CSharp) Метод

MatchMnemonic() публичный Метод

Determine if the keys value matches the mnemonic setting for this target.
public MatchMnemonic ( char charCode ) : bool
charCode char Key code to test against.
Результат bool
        public bool MatchMnemonic(char charCode)
        {
            // Only interested in enabled items
            if (_menuCheckBox.ItemEnabled)
                return Control.IsMnemonic(charCode, _menuCheckBox.ItemText);
            else
                return false;
        }