Click or drag to resize

ValidationEventArgsT Class

Provides validation state and collected error messages for a value being validated.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Altaxo.GuiValidationEventArgsT

Namespace: Altaxo.Gui
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class ValidationEventArgs<T> : EventArgs

Type Parameters

T
The type of the value to validate.

The ValidationEventArgsT type exposes the following members.

Constructors
 NameDescription
Public methodValidationEventArgsT(T) Initializes a new instance of the ValidationEventArgsT class.
Public methodValidationEventArgsT(T, CultureInfo) Initializes a new instance of the ValidationEventArgsT class.
Top
Properties
 NameDescription
Public propertyCancel Gets a value indicating whether validation should be canceled.
Public propertyCultureInfo Gets the culture information to use during validation.
Public propertyErrorText Gets the concatenated validation error text.
Public propertyHasErrors Gets a value indicating whether any validation errors have been collected.
Public propertyValueToValidate Gets the value to validate.
Top
Methods
 NameDescription
Public methodAddError Adds an error message to the validation result.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also