ClassValidationResult
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:
public class ValidationResult
Inheritance: objectValidationResult
Constructors
ValidationResult(bool, object)
Initializes a new instance of the ValidationResult class.
Properties
ErrorContent
Gets the content of the error.
Declaration
public object ErrorContent { get; }
Property Value
The content of the error.
IsValid
Gets a value indicating whether this instance is valid.
Declaration
public bool IsValid { get; }
Property Value
true if this instance is valid; otherwise, false.
ValidResult
Gets the validation result.
Declaration
public static ValidationResult ValidResult { get; }
Property Value
The validation result.
Methods
Operators
operator !=(ValidationResult, ValidationResult)
Implements the operator !=.
Declaration
public static bool operator !=(ValidationResult left, ValidationResult right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.
operator ==(ValidationResult, ValidationResult)
Implements the operator ==.
Declaration
public static bool operator ==(ValidationResult left, ValidationResult right)
Parameters
left
The left.
right
The right.
Returns
The result of the operator.