DataGridViewTextBoxEditingControl Class
Represents a text box control that can be hosted in a DataGridViewTextBoxCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The DataGridViewTextBoxEditingControl class is a specialized type of TextBox control that implements the IDataGridViewEditingControl interface, allowing it to be hosted in a DataGridViewTextBoxCell when the cell is in edit mode.
Handle the EditingControlShowing event to perform custom initialization of the editing control when a cell enters edit mode. To customize the display characteristics of the control, set the properties of the object returned by the DataGridViewEditingControlShowingEventArgs.CellStyle property rather than setting the properties of the control returned by the DataGridViewEditingControlShowingEventArgs.Control property.
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.TextBoxBase
System.Windows.Forms.TextBox
System.Windows.Forms.DataGridViewTextBoxEditingControl
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.