Edytuj

Udostępnij za pośrednictwem


DataGridViewEditingControlShowingEventArgs 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
Public Sub New (control As Control, cellStyle As DataGridViewCellStyle)

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.

Exceptions

control or cellStyle is null.

Applies to

See also