ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / EndEdit Method / EndEdit(Boolean,Boolean) Method
if set to true commit the changes.
if set to true exit editing mode.

In This Topic
    EndEdit(Boolean,Boolean) Method
    In This Topic
    Ends the edit of the currently editing cell.
    Syntax
    'Declaration
     
    
    Public Overloads Function EndEdit( _
       ByVal commitChanges As Boolean, _
       ByVal exitEditingMode As Boolean _
    ) As Boolean

    Parameters

    commitChanges
    if set to true commit the changes.
    exitEditingMode
    if set to true exit editing mode.

    Return Value

    True, if the edit finish, otherwise False
    See Also