Enum CompareOperator
Defines the type of comparison operation to perform when validating values. Used by RadzenCompareValidator to determine how to compare the component value against the target value.
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public enum CompareOperator
Fields
| Name | Description |
|---|---|
| Equal | Validates that values are equal. Useful for password confirmation fields. |
| GreaterThan | Validates that the component value is greater than the comparison value. Useful for numeric range validation. |
| GreaterThanEqual | Validates that the component value is greater than or equal to the comparison value. |
| LessThan | Validates that the component value is less than the comparison value. |
| LessThanEqual | Validates that the component value is less than or equal to the comparison value. |
| NotEqual | Validates that values are not equal. Useful for ensuring a value differs from a specific value. |