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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.