GrapeCity MultiRow Windows Forms Documentation
Context Property


Gets the context of this data error.
Syntax
Public ReadOnly Property Context As DataErrorContexts
Dim instance As DataErrorEventArgs
Dim value As DataErrorContexts
 
value = instance.Context
public DataErrorContexts Context {get;}

Property Value

A bitwise combination of the DataErrorContexts value that shows the context of this data error.
Remarks
Members of the DataErrorContexts enumeration may be combined using the bitwise OR operator to represent the state of a data bound GcMultiRow control when a data error occurs. For example, if a user enters an invalid cell value (such as entering a name in a cell that requires a number) and then selects a different cell, the GcMultiRow control will try to commit the invalid cell value. When the commit fails, the GcMultiRow control fires a GcMultiRow.DataError event whose Context property has a value of DataErrorContexts.Parsing, DataErrorContexts.Commit, and DataErrorContexts.CurrentCellChange.
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

DataErrorEventArgs Class
DataErrorEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.