RequiredRule Class

Validation rule for required values, with no leading or trailing blanks, and an optional minimum number of characters.

Definition

Namespace: Common.Wpf.Rules
Assembly: Common.Wpf.Resources (in Common.Wpf.Resources.dll) Version: 2.0.6
C#
public class RequiredRule : RuleBase
Inheritance
Object    ValidationRule    RuleBase    RequiredRule

Constructors

RequiredRuleInitializes a new instance of the RequiredRule class

Properties

MinMinimum number of characters. The default is 1.

Methods

ValidatePerforms validation checks on a value.
(Overrides RuleBaseValidate(Object, CultureInfo))

See Also