protected override bool ProcessMnemonic(char charCode)
{
// Are we allowed to process mnemonics?
if (UseMnemonic && CanProcessMnemonic())
{
// Does the color button primary text contain the mnemonic?
if (Control.IsMnemonic(charCode, Values.Text))
{
if (!Splitter)
PerformDropDown();
else
PerformClick();
return true;
}
}
// No match found, let base class do standard processing
return base.ProcessMnemonic(charCode);
}