編輯

共用方式為


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.

protected public:
 virtual void ColumnStartedEditing(System::Drawing::Rectangle bounds);
protected internal virtual void ColumnStartedEditing (System.Drawing.Rectangle bounds);
abstract member ColumnStartedEditing : System.Drawing.Rectangle -> unit
override this.ColumnStartedEditing : System.Drawing.Rectangle -> unit
Protected Friend Overridable Sub ColumnStartedEditing (bounds As Rectangle)

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

ColumnStartedEditing(Control)

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

protected public:
 virtual void ColumnStartedEditing(System::Windows::Forms::Control ^ editingControl);
protected internal virtual void ColumnStartedEditing (System.Windows.Forms.Control editingControl);
abstract member ColumnStartedEditing : System.Windows.Forms.Control -> unit
override this.ColumnStartedEditing : System.Windows.Forms.Control -> unit
Protected Friend Overridable Sub ColumnStartedEditing (editingControl As Control)

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