SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class : BindingValidationError Event |
'Declaration
Public Event BindingValidationError As System.EventHandler(Of ValidationErrorEventArgs)
'Usage
Dim instance As WorkbookView Dim handler As System.EventHandler(Of ValidationErrorEventArgs) AddHandler instance.BindingValidationError, handler
public event System.EventHandler<ValidationErrorEventArgs> BindingValidationError
public event BindingValidationError: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.EventHandler<ValidationErrorEventArgs*>* BindingValidationError
public: event System.EventHandler<ValidationErrorEventArgs^>^ BindingValidationError
The event handler receives an argument of type System.Windows.Controls.ValidationErrorEventArgs containing data related to this event. The following ValidationErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets a value that indicates whether the error is a new error or an existing error that has now been cleared. |
Error | Gets the error that caused this System.Windows.Controls.Validation.Error event. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
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