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!

DataGridValueColumn.Edit

If a DataGrid supports user editing, then this method will be called for the cell with focus.

[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
[To be supplied.]
rowNum
The row number in this column which is being edited.
bounds
The bounding rectangle in which the control is to be sited.
readOnly
[To be supplied.]
instantText
[To be supplied.]
cellIsVisible
[To be supplied.]

Remarks

Typically this method will site a control onto the grid at the location of the cell being edited.

See Also

DataGridValueColumn Class | DataGridValueColumn Members | System.WinForms Namespace