DataGridViewTextBoxEditingControl.ProcessKeyEventArgs(Message) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Processes key events.
protected:
override bool ProcessKeyEventArgs(System::Windows::Forms::Message % m);
protected override bool ProcessKeyEventArgs (ref System.Windows.Forms.Message m);
override this.ProcessKeyEventArgs : Message -> bool
Protected Overrides Function ProcessKeyEventArgs (ByRef m As Message) As Boolean
Parameters
Returns
true
if the key event was handled by the editing control; otherwise, false
.
Remarks
This method ensures that the ENTER key is ignored so that carriage return and line feeds aren't stored in the cell value. This method also allows the cell contents to be selected when CTRL+A is pressed.
Applies to
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.