In This Article

Ean13ValidationRule Class

A validation rule that determines whether a value is valid for the EAN-13 symbology.

public class Ean13ValidationRule : ValidationRule
Inheritance:
System.Object System.Windows.Controls.ValidationRule Object

Constructors

Ean13ValidationRule()

public Ean13ValidationRule()

Methods

Validate(Object, CultureInfo)

Performs validation checks on a value.

public override ValidationResult Validate(object value, CultureInfo cultureInfo)
Parameter Type Description
value System.Object

The value from the binding target to check.

cultureInfo System.Globalization.CultureInfo

The culture to use in this rule.

Returns

System.Windows.Controls.ValidationResult:

A System.Windows.Controls.ValidationResult that specifies the result.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()