Ean8ValidationRule Class
A validation rule that determines whether a value is valid for the EAN-8 symbology.
public class Ean8ValidationRule : ValidationRule
- Inheritance:
- object ValidationRule object
Constructors
Ean8ValidationRule()
Initializes an instance of the class.
public Ean8ValidationRule()
Methods
Validate(object?, CultureInfo?)
When overridden in a derived class, performs validation checks on a value.
public override ValidationResult Validate(object? value, CultureInfo? cultureInfo)
| Parameter | Type | Description |
|---|---|---|
| value | object | The value from the binding target to check. |
| cultureInfo | CultureInfo | The culture to use in this rule. |
Returns
- ValidationResult:
A ValidationResult object.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()