ComponentOne True DBGrid for WinForms
Cell Editing Techniques / How Cell Editing Works / Determining Cell Contents
In This Topic
    Determining Cell Contents
    In This Topic

    While editing is in progress, the column's Text and Value properties contain the text the user currently sees in the modified row. Whenever the user presses a key, the Change event fires to notify the application that the user has just modified the current cell. However, the Change event does not mean the user is finished with the process, only that a single change has been made and the grid is still in edit mode.

    The Change event does not fire when the grid is not in edit mode, such as when the contents of a cell are changed through code or when the user clicks a cell to cycle through ValueItem objects.