34 references to KeyChar
System.Web.Mobile (6)
UI\MobileControls\Design\ListGeneralPage.cs (3)
290if (!((e.KeyChar >='0' && e.KeyChar <= '9') || 291e.KeyChar == 8))
UI\MobileControls\Design\ObjectListGeneralPage.cs (3)
181if (!((e.KeyChar >='0' && e.KeyChar <= '9') || 182e.KeyChar == 8))
System.Windows.Forms (27)
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
911if (e.KeyChar == ' ' && SelectionMode != SelectionMode.None) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
2605if (!e.Handled && (e.KeyChar == (char)(int)Keys.Return || e.KeyChar == (char)(int)Keys.Escape)
winforms\Managed\System\WinForms\Control.cs (5)
10529newWParam = (IntPtr) kpe.KeyChar; 10590char preEventCharacter = kpe.KeyChar; 10594if (kpe.KeyChar == preEventCharacter) { 10603string keyChar = new string(new char[] { kpe.KeyChar }); 10642newWParam = (IntPtr)kpe.KeyChar;
winforms\Managed\System\WinForms\DataGrid.cs (3)
3996Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: OnKeyPress " + TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(kpe.KeyChar)); 4002if (kpe.KeyChar > 32) { 4003Edit(new string(new char [] { (char) kpe.KeyChar}));
winforms\Managed\System\WinForms\DataGridTextBox.cs (1)
79if (e.KeyChar == ' ' && (Control.ModifierKeys & Keys.Shift) == Keys.Shift)
winforms\Managed\System\WinForms\DomainUpDown.cs (1)
415char[] character = new char[] { e.KeyChar };
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
2196if (!char.IsLetter(e.KeyChar)) 2214if (PlaceChar(e.KeyChar, selectionStart, selectionLen, this.IsOverwriteMode, out hint))
winforms\Managed\System\WinForms\NumericUpDown.cs (7)
529string keyInput = e.KeyChar.ToString(); 531if (Char.IsDigit(e.KeyChar)) { 538else if (e.KeyChar == '\b') { 541else if (Hexadecimal && ((e.KeyChar >= 'a' && e.KeyChar <= 'f') || e.KeyChar >= 'A' && e.KeyChar <= 'F')) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (4)
2746ke.Handled = FilterReadOnlyEditKeyPress(ke.KeyChar); 3162if (!fBoth && WillFilterKeyPress(ke.KeyChar)) 3164FilterKeyPress(ke.KeyChar); 6702if (!IsInputChar(ke.KeyChar)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
2360if (e.KeyChar == ' ') e.Handled = true;
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
93char c = e.KeyChar;