Xceed Toolkit Plus for WPF v4.6 Documentation
Validate(Object,CultureInfo,CellValidationContext) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.ValidationRules Namespace > CellEditorValidationRule Class > Validate Method : Validate(Object,CultureInfo,CellValidationContext) Method
The CultureInfo of the value. The value to validate.
The CultureInfo of the value.
The validation context of the value to validate. The validation context includes both the associated cell and data item.
Validates the specified value using the provided information.
Syntax
'Declaration
 
Public Overloads Overrides Function Validate( _
   ByVal value As Object, _
   ByVal culture As CultureInfo, _
   ByVal context As CellValidationContext _
) As ValidationResult
'Usage
 
Dim instance As CellEditorValidationRule
Dim value As Object
Dim culture As CultureInfo
Dim context As CellValidationContext
Dim value As ValidationResult
 
value = instance.Validate(value, culture, context)
public override ValidationResult Validate( 
   object value,
   CultureInfo culture,
   CellValidationContext context
)

Parameters

value
The CultureInfo of the 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.
Requirements

Target Platforms: Windows 11, Windows 10, 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

CellEditorValidationRule Class
CellEditorValidationRule Members
Overload List
Base Implementation in Validate