System.Windows.Forms.DataGridViewEditingControlShowingEventArgs Class

Provides data for the DataGridView.EditingControlShowing event.

See Also: DataGridViewEditingControlShowingEventArgs Members


public class DataGridViewEditingControlShowingEventArgs : EventArgs


Handle the DataGridView.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.

For more information about handling events, see Consuming Events.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions:
Since: .NET 2.0