ValidationResult Members
Include Protected Members
Include Inherited Members
The ValidationResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ValidationResult | Overloaded. |
Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged |
Raises the PropertyChanged event.
|
|
ToString |
Returns the string representation of the validation result.
(Overrides Object.ToString().) |
Properties
Name | Description | |
---|---|---|
ElementId |
The ElementViewModel reference of the containing element producing the valiation error.
|
|
ElementName |
The name of the element. If the error is not element specific, this may return Empty()
|
|
IsError |
Returns true if the element is an error.
|
|
IsWarning |
Returns true if the validation error is a warning.
|
|
Message |
Gets or sets the message for the error.
|
|
PropertyName |
Gets the property name of the failed validation. If the validation is not related to a specific property this may return Empty()
|
Events
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Validation Namespace