GrapeCity MultiRow Windows Forms Documentation
EndEdit(DataErrorContexts) Method


A bitwise combination of DataErrorContexts values that specifies the context in which an error can occur.
Commits and ends the edit operation on the current cell using the specified error context.
Syntax
<FeatureAttribute(Name="UIEdit", Version="v5.0")>
Public Overloads Function EndEdit( _
   ByVal context As DataErrorContexts _
) As Boolean
Dim instance As GcMultiRow
Dim context As DataErrorContexts
Dim value As Boolean
 
value = instance.EndEdit(context)
[Feature(Name="UIEdit", Version="v5.0")]
public bool EndEdit( 
   DataErrorContexts context
)

Parameters

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

Return Value

true if the edit operation is committed and ended; 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
CommitEdit(DataErrorContexts) Method
EndEdit Method

 

 


Copyright © GrapeCity, inc. All rights reserved.