|
|
|
|
Edit Method, CellClass Class |
Edits this cell.
Syntax CellClass Class (Softelvdm.SftTreeNET)
VB |
Public Function Edit() As Boolean |
C# |
public bool Edit(); |
C++ |
public: bool Edit(); |
Return Value
True if the cell editing has started for this cell, otherwise False.
Comments
The Edit method edits this cell.
Only cells in the item area can be edited. Cells in the header area, footer area or row headers cannot be edited.
Cell editing is initiated by the subsequent EditSetup event which is used to position and initialize the control used for cell editing.
The Edit method cannot edit a cell whose CellClass.EditIgnore or ItemClass.EditIgnore properties have marked the cell as non-editable or if the EditAllowed event indicates that the cell cannot be reached during cell editing.
EndEdit returns False, if a cell is already being edited and the EditValidate event indicated that the content are invalid, or if the EditAllowed event for this cell indicated that editing is not allowed, or if the EditSetup event did not return a control in the EditControl field of the event's EditSetupEventArgs instance.