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