6 overrides of ProcessKeyPreview
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21927
protected override bool
ProcessKeyPreview
(ref Message m)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1499
protected override bool
ProcessKeyPreview
(ref Message m)
System\Windows\Forms\Form.cs (1)
4765
protected override bool
ProcessKeyPreview
(ref Message m)
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlTests.Methods.cs (1)
5523
protected override bool
ProcessKeyPreview
(ref Message m) => ProcessKeyPreviewAction(m);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
2091
protected override bool
ProcessKeyPreview
(ref Message m) => ProcessKeyPreviewAction(m);
WebBrowserBaseTests.cs (1)
875
protected override bool
ProcessKeyPreview
(ref Message m) => ProcessKeyPreviewAction(m);
11 references to ProcessKeyPreview
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (6)
8876
/// control has a parent; if so, it calls the parent's <see cref="
ProcessKeyPreview
(ref Message)"/> method. If the
8877
/// parent's <see cref="
ProcessKeyPreview
(ref Message)"/> method does not process the message then the
8884
(_parent is not null && _parent.
ProcessKeyPreview
(ref m)) || ProcessKeyEventArgs(ref m);
8896
/// <see cref="
ProcessKeyPreview
(ref Message)"/> method simply sends the character to the parent's
8897
/// <see cref="
ProcessKeyPreview
(ref Message)"/> method, or returns <see langword="false"/> if the control has no
8901
protected virtual bool ProcessKeyPreview(ref Message m) => _parent?.
ProcessKeyPreview
(ref m) ?? false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
21971
return base.
ProcessKeyPreview
(ref m);
21994
return base.
ProcessKeyPreview
(ref m);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1506
return base.
ProcessKeyPreview
(ref m);
System\Windows\Forms\Form.cs (1)
4772
return base.
ProcessKeyPreview
(ref m);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlTests.cs (1)
1402
public new bool ProcessKeyPreview(ref Message m) => base.
ProcessKeyPreview
(ref m);