NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridTextBoxColumn.Edit

Prepares a cell for editing.

[Visual Basic]
Overrides Public Sub Edit( _
   ByVal source As ListManager, _
   ByVal rowNum As Integer, _
   ByVal bounds As Rectangle, _
   ByVal readOnly As Boolean, _
   ByVal instantText As String, _
   ByVal cellIsVisible As Boolean _
)
[C#]
public override void Edit(
   ListManager source,
   int rowNum,
   Rectangle bounds,
   bool readOnly,
   string instantText,
   bool cellIsVisible
);
[C++]
public: override void Edit(
   ListManager* source,
   int rowNum,
   Rectangle bounds,
   bool readOnly,
   String* instantText,
   bool cellIsVisible
);
[JScript]
public override function Edit(
   source : ListManager,
   rowNum : int,
   bounds : Rectangle,
   readOnly : Boolean,
   instantText : String,
   cellIsVisible : Boolean
);

Parameters

source
The TBD of the DataGrid control the column belongs to.
rowNum
The row number in this column being edited.
bounds
The bounding 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.
instantText
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

The Edit sites a TextBox control on the grid at the location of the cell being edited. The method is called by the DataGrid class's BeginEdit method when an editing operation is about to begin.

See Also

DataGridTextBoxColumn Class | DataGridTextBoxColumn Members | System.WinForms Namespace | DataGrid | DataGridColumn