22 writes to UseMnemonic
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
23UseMnemonic = false,
System.Windows.Forms.Tests (21)
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (2)
102using RadioButton radioButton = new() { Text = "&TestText", UseMnemonic = useMnemonic }; 113using RadioButton radioButton = new() { Text = "&RadioButton", UseMnemonic = useMnemonic };
System\Windows\Forms\ButtonBaseTests.cs (12)
3939control.UseMnemonic = value; 3945control.UseMnemonic = value; 3951control.UseMnemonic = !value; 3990control.UseMnemonic = value; 3998control.UseMnemonic = value; 4006control.UseMnemonic = !value; 4046control.UseMnemonic = value; 4055control.UseMnemonic = value; 4064control.UseMnemonic = !value; 4114control.UseMnemonic = value; 4125control.UseMnemonic = value; 4136control.UseMnemonic = !value;
System\Windows\Forms\ButtonTests.cs (2)
3265UseMnemonic = useMnemonic, 3300UseMnemonic = useMnemonic,
System\Windows\Forms\CheckBoxTests.cs (1)
848UseMnemonic = useMnemonic,
System\Windows\Forms\RadioButtonTests.cs (4)
1355UseMnemonic = useMnemonic, 1384UseMnemonic = useMnemonic, 1414UseMnemonic = useMnemonic, 1454UseMnemonic = useMnemonic,
27 references to UseMnemonic
System.Windows.Forms (10)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
283if (UseMnemonic && CanProcessMnemonic() && IsMnemonic(charCode, Text))
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (2)
47? GetKeyboardShortcut(owner, owner.UseMnemonic, PreviousLabel) 64return owner.UseMnemonic ? WindowsFormsUtils.TextWithoutMnemonics(TextLabel) : TextLabel;
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
733if (value == UseMnemonic)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
89=> ControlPaint.CreateStringFormat(Control, Control.TextAlign, Control.ShowToolTip, Control.UseMnemonic); 95=> ControlPaint.CreateTextFormatFlags(Control, Control.TextAlign, Control.ShowToolTip, Control.UseMnemonic);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
520if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
504if (UseMnemonic && IsMnemonic(charCode, Text) && CanSelect)
System\Windows\Forms\Controls\Buttons\RadioButton.RadioButtonAccessibleObject.cs (2)
54? ButtonBaseAccessibleObject.GetKeyboardShortcut(owner, owner.UseMnemonic, PreviousLabel) 71return owner.UseMnemonic ? WindowsFormsUtils.TextWithoutMnemonics(TextLabel) : TextLabel;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\CollectionEditor.SplitButton.cs (1)
222if (!UseMnemonic)
System.Windows.Forms.Tests (16)
System\Windows\Forms\ButtonBaseTests.cs (13)
116Assert.True(control.UseMnemonic); 3940Assert.Equal(value, control.UseMnemonic); 3946Assert.Equal(value, control.UseMnemonic); 3952Assert.Equal(!value, control.UseMnemonic); 3991Assert.Equal(value, control.UseMnemonic); 3999Assert.Equal(value, control.UseMnemonic); 4007Assert.Equal(!value, control.UseMnemonic); 4047Assert.Equal(value, control.UseMnemonic); 4056Assert.Equal(value, control.UseMnemonic); 4065Assert.Equal(!value, control.UseMnemonic); 4115Assert.Equal(value, control.UseMnemonic); 4126Assert.Equal(value, control.UseMnemonic); 4137Assert.Equal(!value, control.UseMnemonic);
System\Windows\Forms\ButtonTests.cs (1)
114Assert.True(control.UseMnemonic);
System\Windows\Forms\CheckBoxTests.cs (1)
116Assert.True(control.UseMnemonic);
System\Windows\Forms\RadioButtonTests.cs (1)
114Assert.True(control.UseMnemonic);