DataGrid.ColumnStartedEditing Method

Definition

Informs the DataGrid control that the user has begun editing a column.

Overloads

ColumnStartedEditing(Rectangle)

Informs the DataGrid control when the user begins to edit the column at the specified location.

ColumnStartedEditing(Control)

Informs the DataGrid control when the user begins to edit a column using the specified control.

ColumnStartedEditing(Rectangle)

Informs the DataGrid control when the user begins to edit the column at the specified location.

C#
protected internal virtual void ColumnStartedEditing(System.Drawing.Rectangle bounds);

Parameters

bounds
Rectangle

The Rectangle that defines the location of the edited column.

Remarks

When called, the ColumnStartedEditing method enables the System.Windows.Forms.DataGrid control to show a pencil in the row header.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 10

ColumnStartedEditing(Control)

Informs the DataGrid control when the user begins to edit a column using the specified control.

C#
protected internal virtual void ColumnStartedEditing(System.Windows.Forms.Control editingControl);

Parameters

editingControl
Control

The Control used to edit the column.

Remarks

When called, the ColumnStartedEditing method enables the System.Windows.Forms.DataGrid control to show a pencil in the row header.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 10