[]
Provides relative context information when the BaseValidationAction executes.
public class ValidateActionContext : SpreadValidateActionContext
Public Class ValidateActionContext
Inherits SpreadValidateActionContext
This class provides information when executing the BaseValidationAction. You can get the validated cell's context information and the validation result. You can use this information to execute actions if the validation fails. You can keep the focus on the validated cell by setting the "KeepFocus" property when executing DoAction.
Name | Description |
---|---|
ColumnIndex | Gets the column Index. |
EditedValue | Gets a value that indicates the validated value. |
IsValid | Gets whether the validation is successful. |
KeepFocus | Gets a value that indicates whether to keep the focus on the validating cell when executing the ValidateActionBase. |
RowIndex | Gets the row index of cell. |
ValidateInfo | Gets or sets what information is displayed when validated. |
ValidateReasons | Gets the reason that a ValidateActionBase executes. |
ValueChanged | Gets whether the value of the validating cell was changed when executing ValidateActionBase. This is only used for ValueProcess. |