'Declaration Public Overloads Overrides Function Validate( _ ByVal value As Object, _ ByVal culture As CultureInfo, _ ByVal context As CellValidationContext, _ ByVal cellEditor As FrameworkElement _ ) As ValidationResult
'Usage Dim instance As CellEditorErrorValidationRule Dim value As Object Dim culture As CultureInfo Dim context As CellValidationContext Dim cellEditor As FrameworkElement Dim value As ValidationResult value = instance.Validate(value, culture, context, cellEditor)
public override ValidationResult Validate( object value, CultureInfo culture, CellValidationContext context, FrameworkElement cellEditor )
Parameters
- value
- The value to validate.
- culture
- The CultureInfo of the value.
- context
- The validation context of the value to validate. The validation context includes both the associated cell and data item.
- cellEditor
- The cell editor that contains the value.