13 references to IsMnemonic
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
8953
/// <see cref="
IsMnemonic
(char, string?)"/> method to determine whether the given character matches a mnemonic
System\Windows\Forms\Controls\Buttons\Button.cs (1)
283
if (UseMnemonic && CanProcessMnemonic() &&
IsMnemonic
(charCode, Text))
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
520
if (UseMnemonic &&
IsMnemonic
(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
504
if (UseMnemonic &&
IsMnemonic
(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
623
if (
IsMnemonic
(charCode, Text) && CanProcessMnemonic())
System\Windows\Forms\Controls\Labels\Label.cs (1)
1362
if (UseMnemonic &&
IsMnemonic
(charCode, Text) && CanProcessMnemonic())
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2908
if (
IsMnemonic
(charCode, currentItem.Text))
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\FormatControl.cs (5)
163
if (
IsMnemonic
(charCode, formatTypeLabel.Text))
169
if (
IsMnemonic
(charCode, nullValueLabel.Text))
186
if (
IsMnemonic
(charCode, secondRowLabel.Text))
198
if (
IsMnemonic
(charCode, secondRowLabel.Text))
210
if (
IsMnemonic
(charCode, secondRowLabel.Text))
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.Methods.cs (1)
4531
Assert.Equal(expected, Control.
IsMnemonic
(charCode, text));