DataGridView.IsInputChar Method (Char)

 

Determines whether a character is an input character that the DataGridView recognizes.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override bool IsInputChar(
	char charCode
)

Parameters

charCode
Type: System.Char

The character to test.

Return Value

Type: System.Boolean

true if the character is recognized as an input character; otherwise, false.

A character is recognized as an input character depending on whether the control is in edit mode and whether the current editing control can accept the character.

.NET Framework
Available since 2.0
Return to top
Show: