System.Windows.Forms.DataGridColumnStyle.Edit Method

When overridden in a deriving class, prepares a cell for editing.

Syntax

protected abstract void Edit (CurrencyManager source, int rowNum, System.Drawing.Rectangle bounds, bool readOnly, string displayText, bool cellIsVisible)

Parameters

source
The System.Windows.Forms.CurrencyManager for the System.Windows.Forms.DataGridColumnStyle.
rowNum
The row number in this column which is being edited.
bounds
The 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.
displayText
The text to display in the control.
cellIsVisible
A value indicating whether the cell is visible. true if the cell is visible; 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