Spread WPF Documentation
ValidationError Event (SheetView)


Occurs when the applied cell value is invalid.
Syntax
'Declaration
 
Public Event ValidationError As System.EventHandler(Of ValidationErrorEventArgs)
'Usage
 
Dim instance As SheetView
Dim handler As System.EventHandler(Of ValidationErrorEventArgs)
 
AddHandler instance.ValidationError, handler
public event System.EventHandler<ValidationErrorEventArgs> ValidationError
Event Data

The event handler receives an argument of type ValidationErrorEventArgs containing data related to this event. The following ValidationErrorEventArgs properties provide information specific to this event.

PropertyDescription
ColumnGets the column index.  
RowGets the row index.  
ValidationResultGets or sets the policy that the user can set to determine how to process the error.  
ValidatorGets the validator which caused this error. This validator is a copy of the real validator, so any modifications to this validator do not take effect.  
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.