System.Windows.Forms.DataGridViewEditingControlShowingEventArgs Class

Provides data for the DataGridView.EditingControlShowing event.

See Also: DataGridViewEditingControlShowingEventArgs Members

Syntax

public class DataGridViewEditingControlShowingEventArgs : EventArgs

Remarks

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.

Requirements

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