ValidationResult
Class
Represents the result returned by the ValidationRule.Validate method that indicates whether the checked value passed the ValidationRule.
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
C#
public class ValidationResult
Inheritance: objectValidationResult
Constructors
Initializes a new instance of the ValidationResult class.
Properties
Gets the content of the error.
C#
public object ErrorContent { get; }
The content of the error.
Gets a value indicating whether this instance is valid.
C#
public bool IsValid { get; }
true if this instance is valid; otherwise, false.
Gets the validation result.
C#
public static ValidationResult ValidResult { get; }
The validation result.
Methods
Operators
Implements the operator !=.
C#
public static bool operator !=(ValidationResult left, ValidationResult right)
The left.
rightValidationResultThe right.
Returns:The result of the operator.
Implements the operator ==.
C#
public static bool operator ==(ValidationResult left, ValidationResult right)
The left.
rightValidationResultThe right.
Returns:The result of the operator.