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