|
namespace Catel.Windows.Controls
{
/// <summary>
/// Dummy class to allow code sharing between WPF and Silverlight.
/// </summary>
public class ValidationResult
{
#region Constructor & destructor
/// <summary>
/// Initializes a new instance of the <see cref="ValidationResult"/> class.
/// </summary>
/// <remarks>
/// This constructor is internal to make this object inaccessible to the outside assemblies.
/// </remarks>
internal ValidationResult()
{
}
#endregion
#region Properties
/// <summary>
/// Gets or sets the content of the error.
/// </summary>
/// <value>The content of the error.</value>
public object ErrorContent { get; internal set; }
/// <summary>
/// Gets a value indicating whether the validation result is valid.
/// </summary>
/// <value><c>true</c> if the validation result is valid; otherwise, <c>false</c>.</value>
public bool IsValid { get; internal set; }
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.