System.Windows.Forms.DataGridColumnStyle.Edit Method

Prepares a cell for editing.

Syntax

protected virtual void Edit (CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly)

Parameters

source
The System.Windows.Forms.CurrencyManager for the System.Windows.Forms.DataGridColumnStyle.
rowNum
The row number to edit.
bounds
The bounding System.Drawing.Rectangle in which the control is to be sited.
readOnly
A value indicating whether the column is a read-only. true if the value is read-only; otherwise, false.

Remarks

Typically, the DataGridColumnStyle.Edit(CurrencyManager, int, System.Drawing.Rectangle, bool) method sites a control onto the grid at the location of the cell being edited.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0