DataGridViewEditingControlShowingEventArgs(Control, DataGridViewCellStyle) Constructor

Definition

Initializes a new instance of the DataGridViewEditingControlShowingEventArgs class.

public:
 DataGridViewEditingControlShowingEventArgs(System::Windows::Forms::Control ^ control, System::Windows::Forms::DataGridViewCellStyle ^ cellStyle);
public DataGridViewEditingControlShowingEventArgs (System.Windows.Forms.Control control, System.Windows.Forms.DataGridViewCellStyle cellStyle);
new System.Windows.Forms.DataGridViewEditingControlShowingEventArgs : System.Windows.Forms.Control * System.Windows.Forms.DataGridViewCellStyle -> System.Windows.Forms.DataGridViewEditingControlShowingEventArgs

Parameters

control
Control

A Control in which the user will edit the selected cell's contents.

cellStyle
DataGridViewCellStyle

A DataGridViewCellStyle representing the style of the cell being edited.

Applies to

See also