Xceed DataGrid for WPF v7.2 Documentation
Validating Event


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.ValidationRules Namespace > EventCellValidationRule Class : Validating Event
Raised after the Validate method to provide additional validation, or, if no validation has been provided in the Validate method, to validate cell content.
Syntax
'Declaration
 
Public Event Validating As EventHandler(Of CellValidatingEventArgs)
'Usage
 
Dim instance As EventCellValidationRule

Dim handler As EventHandler(Of CellValidatingEventArgs)

 

AddHandler instance.Validating, handler
public event EventHandler<CellValidatingEventArgs> Validating
Event Data

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

PropertyDescription
Gets the validation context of the value to validate. The validation context includes both the associated cell and data item.  
Gets the CultureInfo for the value.  
Represents the result returned by a validation rule's Validate method that indicates whether the value passed the validation process.  
Gets the value to validated.  
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