DataGridColumnStyle.ColumnStartedEditing(Control) 方法

定义

通知 DataGrid 用户已开始编辑该列。

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)

参数

editingControl
Control

由列承载的 Control

注解

调用 时, ColumnStartedEditing 方法允许控件在 System.Windows.Forms.DataGrid 行标题中显示铅笔,指示正在编辑的行。

适用于