GrapeCity MultiRow Windows Forms Documentation
CommitEdit(DataErrorContexts) Method


A bitwise combination of DataErrorContexts values that specify the context in which an error can occur.
Commits changes in the current cell to the data cache without ending edit mode.
Syntax
<FeatureAttribute(Name="UIEdit", Version="v5.0")>
Public Overloads Function CommitEdit( _
   ByVal context As DataErrorContexts _
) As Boolean
Dim instance As GcMultiRow
Dim context As DataErrorContexts
Dim value As Boolean
 
value = instance.CommitEdit(context)
[Feature(Name="UIEdit", Version="v5.0")]
public bool CommitEdit( 
   DataErrorContexts context
)

Parameters

context
A bitwise combination of DataErrorContexts values that specify the context in which an error can occur.

Return Value

true if the changes were committed; otherwise, false.
Remarks

If the current cell is not in an edit state, the method always returns true.

If the current cell's editing value is invalid for the current cell, or cannot parse the editing value to the ValueType, the DataError event is fired.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GcMultiRow Class
GcMultiRow Members
Overload List
CancelEdit Method
BeginEdit Method
CommitEdit Method
EndEdit Method
EndEdit(DataErrorContexts) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.