ValidatorRule Members
Include Protected Members
Include Inherited Members
The ValidatorRule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidatorRule() |
Initializes a new instance of the ValidatorRule class..
|
|
ValidatorRule(BindingExpression) |
Initializes a new instance of the ValidatorRule class for a binding expression.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
|
Validate(Object, CultureInfo) |
Validates value using the validators associated with the source property.
(Overrides ValidationRule.Validate(Object, CultureInfo).) |
|
Validate(Object, CultureInfo, BindingExpressionBase) |
Performs validation checks on a value.
(Inherited from ValidationRule.) |
|
Validate(Object, CultureInfo, BindingGroup) |
Performs validation checks on a value.
(Inherited from ValidationRule.) |
Properties
Name | Description | |
---|---|---|
RulesetName |
Gets or sets the ruleset name to use when validating.
|
|
SourcePropertyName |
Gets or sets the name of the property for which explicitly configured ValidatorRule instances should get their validators.
|
|
SourceType |
Gets or sets the type from which explicitly configured ValidatorRule instances should get their validators.
|
|
ValidatesOnTargetUpdated |
Gets or sets a value that indicates whether the validation rule runs when the target of the Binding is updated.
(Inherited from ValidationRule.) |
|
ValidationSpecificationSource |
Gets or sets the source for validation information.
|
|
ValidationStep |
Gets or sets when the validation rule runs.
(Inherited from ValidationRule.) |
See Also
Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF Namespace